in reply to Re^3: Did regex match fail because of "end of string"?
in thread Did regex match fail because of "end of string"?

Well, your regex will either match or it won't. And since \G is part of the regex, it will always "fail during a match".

I think I understand what you're trying to do, but I don't think there really is a way to put your question in a general form that the regex engine will understand.

  • Comment on Re^4: Did regex match fail because of "end of string"?