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
In reply to Re: Matching optionally quoted string
by CountZero
in thread Matching optionally quoted string
by JoshuaD
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |