Skip to content

Invalid regexp group #1363

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

Closed
Mahagney opened this issue Jun 25, 2020 · 1 comment
Closed

Invalid regexp group #1363

Mahagney opened this issue Jun 25, 2020 · 1 comment

Comments

@Mahagney
Copy link

The following line of code from isMobilePhone gives "SyntaxError: invalid regexp group" on Mozila, IE and Edge but works fine on chrome " 'bs-BA': /^((((+|0{2})3876)|06)[0-6])((?<=4)\d{7}|(?<!4)\d{6})$/, ". It looks like this browsers doesn't support lookbehing egex.
Version: "validator": "^13.1.0"

@profnandaa
Copy link
Member

This was an issue with 13.1.0 please upgrade to 13.1.1 - #1354

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