[webkit-reviews] review requested: [Bug 64202] Enh: Improve handling of RegExp in the form of /.*blah.*/ : [Attachment 100311] Proposed patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 11 09:29:21 PDT 2011


Michael Saboff <msaboff at apple.com> has asked  for review:
Bug 64202: Enh: Improve handling of RegExp in the form of /.*blah.*/
https://bugs.webkit.org/show_bug.cgi?id=64202

Attachment 100311: Proposed patch
https://bugs.webkit.org/attachment.cgi?id=100311&action=review

------- Additional Comments from Michael Saboff <msaboff at apple.com>
Proposed enhancement to both the Yarr interpreter and JIT to handle expressions
in the form of /[^].*[?]<sub-expr>.*[$]/[m].  The terms in between the leading
and trailing .*'s cannot capture and also this enhancement is limited to single
alternative expressions.  Process the inner terms and then look for the
beginning of the string and end of the string.


More information about the webkit-reviews mailing list