Bug 249822 - RegExp lookbehind assertions still not working even after fix to bug 174931 and committed 257823@main
Summary: RegExp lookbehind assertions still not working even after fix to bug 174931 a...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-22 15:41 PST by Simon Chang
Modified: 2022-12-26 22:31 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Chang 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.
Comment 1 Tim Nguyen (:ntim) 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.
Comment 2 Simon Chang 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.
Comment 3 Alexey Proskuryakov 2022-12-26 22:31:37 PST
Marking resolved for now, but please reopen if this doe reproduce with latest WebKit.