Ron Rosenfeld wrote...
....
>I will need to keep that in mind. Clearly I have insufficient experience with
>regular expressions to have run into some of the issues you have mentioned.
>
>I will need to think more about the backtracking issues in order to better
>understand what you write. As well as the pros and cons of trying to avoid
>assertions.
....
If you want to get a real grounding in regular expressions, read
Jeffrey Friedl's book 'Mastering Regular Expressions, 2nd Ed.', ISBN
0-596-00289-0. Lots of discussion about backtracking and optimizing
regular expessions.
Bookmarks