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

Thank you for your input, but I'll try to avoid modifying the regexes because they are user input, and I don't want to deparse them.

And I don't only want to detect end-of-string between \d+ and 'b', but also between 'a' and \d+ - which means that I'd had to add a closure between any two atoms in the regex - that's not a feasible option :(

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