Hacker News new | ask | show | jobs
by skykooler 493 days ago
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.