Bug 46882 - The case-insensitivity backreference checking isn't working with YARR Interpreter
Summary: The case-insensitivity backreference checking isn't working with YARR Interpr...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-30 02:07 PDT by Peter Varga
Modified: 2010-09-30 04:45 PDT (History)
4 users (show)

See Also:


Attachments
proposed patch (2.39 KB, patch)
2010-09-30 02:14 PDT, Peter Varga
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Varga 2010-09-30 02:07:20 PDT
The Interpreter::tryConsumeBackReference() function doesn't support the ignorecase checking of characters. 

Eg.:
"Abab".match(/(ab)\1/i);
result: null
expected: Abab, Ab
Comment 1 Peter Varga 2010-09-30 02:14:23 PDT
Created attachment 69319 [details]
proposed patch
Comment 2 Gavin Barraclough 2010-09-30 04:32:12 PDT
Comment on attachment 69319 [details]
proposed patch

Looks great, thank you!
Comment 3 WebKit Commit Bot 2010-09-30 04:45:01 PDT
Comment on attachment 69319 [details]
proposed patch

Clearing flags on attachment: 69319

Committed r68771: <http://trac.webkit.org/changeset/68771>
Comment 4 WebKit Commit Bot 2010-09-30 04:45:07 PDT
All reviewed patches have been landed.  Closing bug.