http://qs321.pair.com?node_id=390092


in reply to Re: On zero-width negative lookahead assertions
in thread On zero-width negative lookahead assertions

That works, and I thank you for explaining why. Unfortunately, I can't understand why, in the first case, the parentheses match the leading space, and why putting the \S makes it match, even if there is no non-space character at the end...

It would be glad if you (or anyone else) could further explain that. I think I'll discover what I didn't understand of zwnla assertions

Thanks a lot!

Ciao!
--bronto


In theory, there is no difference between theory and practice. In practice, there is.