Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid regular expression: invalid group specifier name #3

Open
hqqxxf opened this issue May 31, 2024 · 4 comments
Open

Invalid regular expression: invalid group specifier name #3

hqqxxf opened this issue May 31, 2024 · 4 comments

Comments

@hqqxxf
Copy link

hqqxxf commented May 31, 2024

IOS 16 regex bug:
image

@talatkuyuk
Copy link

talatkuyuk commented Jun 1, 2024

Thank you for reporting the issue.

ios 16? which version of chrome or safari you use in which device? I don't get any error from my safari (v17.5) or chrome (v.125) in my macbook pro.

The regex lookbehind is supported as of specific version of chrome and safari. You can have look at https://caniuse.com/?search=lookbehind%20regex

I tried the regex in https://regex101.com/r/r8zk5N/1 using different flavor, only rust and golang raised an error, but ECMAScript (js) has no problem with it.

@hqqxxf
Copy link
Author

hqqxxf commented Jun 2, 2024

image
@talatkuyuk

@talatkuyuk
Copy link

The regex you mentioned in the issue consists regex lookbehind.

From https://developer.apple.com/documentation/safari-release-notes/safari-16_4-release-notes

Added support for RegExp lookbehind assertions.

Regex lookbehind is supported as of safari version 16.4 which needs to have minimum ios 16.4 in your device iphone 13.

So, I advice you to update ios from 16.2 to 17.5 which is latest in your device.

Then, let me know if the issue is resolved to close it.

@talatkuyuk
Copy link

Do you plan to close the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants