True. The point is that he didn't test it with the right data.
I was saying that his code will give wrong results for the two lines I added, just to prove my assertion.
In reply to Re: Re: Re: Re: Regex (lookahead) Confusion
by Anonymous Monk
in thread Regex (lookahead) Confusion
by ChrisR
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |