RegExp support for start of string in multiline RegExp
Bradley Meck
bradley.meck at gmail.com
Fri Jul 23 14:29:51 PDT 2010
Currently with a multiline regexp there is no way to ensure the regexp
starts at the start of input (\A). This means the regexp engine always will
iterate over the rest of the test string, which is detrimental to execution
of the regexp, and if you need to validate the match as starting at the
start of string requires some things outside of the RegExp which also is a
performance hit. This seems rather important for regexp support that can be
used with more frequency than they do now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20100723/e75a2eb1/attachment.html>
More information about the es-discuss
mailing list