Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Not sure the range operator is fully specified, this works and seems like it shouldn't:

  echo "regular expressions" | ./trre  "[a:A-z:a]"
  REGULAR EXPRESSIONS
In fact, "[a:A-z:x]" seems to do the same thing as "[a:A-z:Z]" for all x.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: