
October 2nd, 2012, 09:50 AM
|
|
Contributing User
|
|
Join Date: Aug 2008
Posts: 70
Time spent in forums: 10 h 27 m 54 sec
Reputation Power: 5
|
|
So... the man page says to use backslashes to escape these characters... yet people are telling me that is the opposite of what I should be doing...
HOWEVER, this is the story since those updates:
Hmmm isn't this example:
the exact opposite of what the man page says below?
Quote: | In basic regular expressions the meta-characters ?, +, {, |, (, and ) lose their special meaning; instead use the backslashed versions \?, \+, \{, \|, \(, and \). |
I did read the man page before posting here btw... it doesn't seem to make any sense.
When I try with the backslash in front of the parenthesis this is the return:
Quote: $ grep -r 'radius\(' *
grep: Unmatched ( or \( |
I am at the root where many files have multiple lines of CSS3 border-radius styles containing the exact spelling and capitalization as: "-radius(" -In fact I can look them up and open them in the folder tree using vi or nano... however this returns 0 results:
|