Thoughts regular expressions in, for example sed
Johnny Rosenberg
gurus.knugum at gmail.com
Fri Jan 11 22:43:02 UTC 2013
I don't know if regular expressions are used the same way in all those
nice tools, like sed, grep and whatever, but I can't stop wondering
why the regular expression syntax is so inconsistent.
Some characters are used for things, so if I want to search for them I
need to escape them, for example ”.\[]{}”, but what about ()? They are
the other way around: I have to escape them when I want to use them!
Why is this?
Johnny Rosenberg
More information about the ubuntu-users
mailing list