[Webkit-unassigned] [Bug 258531] New: [JSC] Improve RegExp Lookbehind Character Class Backtracking
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 26 14:06:15 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=258531
Bug ID: 258531
Summary: [JSC] Improve RegExp Lookbehind Character Class
Backtracking
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Keywords: InRadar
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: msaboff at apple.com
We currently backtrack character classes that may contain non-BMP characters by rematching one less than the prior count. For large strings that need to backtrack a large number of characters, this is quit wasteful.
Now that we have methods that can read non-BMP characters either forward or bacckward, we can use these to back up just one character. The same applies to lookaheads.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230626/dfcd8c06/attachment.htm>
More information about the webkit-unassigned
mailing list