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

I believe the OP wants to know if there was a time when the engine reached the end of the string after starting a match.

For /a\d+b/,

"a123b\n" -> match "a123\n" -> incomplete match "a123c\n" -> no match

Replies are listed 'Best First'.
Re^3: Did regex match fail because of "end of string"?
by roboticus (Chancellor) on Oct 16, 2007 at 20:21 UTC
    ikegami:

    Ah! That interpretation certainly makes sense. (I found it hard to reconcile my interpretation of the question with moritz' experience.)

    ...roboticus