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"?
Yes, I don't know if the regex reached the end of the string and failed, in which case I'd have to load more data.
Your method seems to be a bit blunt, removing a char blindly from the regex - which leads to many non-valid regexes and big performance penalties. The idea is quite interesting, though ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Did regex match fail because of "end of string"?
by Illuminatus (Curate) on Oct 17, 2007 at 08:08 UTC | |
by moritz (Cardinal) on Oct 17, 2007 at 11:35 UTC |