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

RegExp error #616

Open
ksh8281 opened this issue Apr 3, 2020 · 1 comment
Open

RegExp error #616

ksh8281 opened this issue Apr 3, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@ksh8281
Copy link
Contributor

ksh8281 commented Apr 3, 2020

Escargot (please complete the following information):

  • OS: Linux

Describe the bug
RegExp.prototype.test result is wrong

Test case
var locale = "de-gregory-gregory"
var re = /(([a-z]|[0-9]){2,8}-)+(([a-z]|[0-9]){5,8}|(0-9{3}))-(([a-z]|[0-9]){2,8}-)*\3(?!([a-z]|[0-9]))/i
print(re.test("de-gregory-gregory"))

Expected behavior
print true

@ksh8281 ksh8281 added the bug Something isn't working label Apr 3, 2020
@ksh8281
Copy link
Contributor Author

ksh8281 commented Apr 3, 2020

related with ./test/test262/test/intl402/Intl/getCanonicalLocales/invalid-tags.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant