in reply to Matching optionally quoted string
Note that you do not have to escape the quotes. The only characters you have to escape are : \ | ( ) [ { ^ $ + ?
Update: Also . and * need to be escaped. (thanks Tachyon)
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (2) Matching optionally quoted string
by ysth (Canon) on Dec 14, 2003 at 18:29 UTC | |
|
Re: (2) Matching optionally quoted string
by ysth (Canon) on Dec 14, 2003 at 18:43 UTC |