>One that always makes me sweat is matching the contents inside ' marks, where >a single ' is encoded as two ' marks next to each other within the outer ' >marks. The same matching contents within parentheses where subparameters >within parentheses are permitted. E.g. 'This isn''t quite right!' or >(a,b,(c,d),e).
I actually like the notion of escape sequences: 'This isn\'t quite right!' However, you may find this book rewarding (it specifically deals with that issue among others) Mastering Regular Expressions [Paperback] Jeffrey E.F. Friedl (Author) O'Reilly (Publisher) ZA ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
