Bug 249822

Summary: RegExp lookbehind assertions still not working even after fix to bug 174931 and committed 257823@main
Product: WebKit Reporter: Simon Chang <orichidsjy>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Enhancement CC: ap, msaboff, ntim
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Simon Chang
Reported 2022-12-22 15:41:11 PST
With the latest WebKit Nightly Build 258259@main running on macOS 13.1, regex lookbehind is still not working. Test websites: 1. https://javascript.info/regexp-lookahead-lookbehind 2. https://russiaslosses.netlify.app 3.https://www.w3docs.com/learn-javascript/lookahead-and-lookbehind.html Inspector denotes the following error: "SyntaxError: Invalid regular expression: invalid group specifier name" on the part of regex lookbehind from all three websites above. It's reproducible on the latest Nightly Build of Epiphany Canary (GNOME Web using the WebKit Nightly Build) on Linux as well.
Attachments
Tim Nguyen (:ntim)
Comment 1 2022-12-22 18:48:40 PST
The websites you've linked seem to work on latest trunk build for me. There might be a setting that might be disabled in the builds you're trying? Although I think it should be enabled by default.
Simon Chang
Comment 2 2022-12-22 18:53:42 PST
It seems like a problem from my end. It’s working on my Windows build. I then found that Epiphany Canary on Linux is not using the latest WebKit Build through WebKitGTK. Will check on the settings on macOS build now.
Alexey Proskuryakov
Comment 3 2022-12-26 22:31:37 PST
Marking resolved for now, but please reopen if this doe reproduce with latest WebKit.
Note You need to log in before you can comment on or make changes to this bug.