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 does not handle quantifier with max of zero correctly #1041

Closed
tonygermano opened this issue Sep 29, 2021 · 0 comments · Fixed by #1098
Closed

RegExp does not handle quantifier with max of zero correctly #1041

tonygermano opened this issue Sep 29, 2021 · 0 comments · Fixed by #1098
Labels
bug Issues considered a bug Ecma Incompatibility Issues about Rhino being incompatible with the EcmaScript spec
Projects

Comments

@tonygermano
Copy link
Contributor

js> var re = /ab{0}c/
js> re.test('abc')
true

Expected: false

@p-bakker p-bakker added bug Issues considered a bug Ecma Incompatibility Issues about Rhino being incompatible with the EcmaScript spec labels Sep 29, 2021
@p-bakker p-bakker added this to To do in v2.0.0 Oct 14, 2021
@p-bakker p-bakker moved this from To do to In progress in v2.0.0 Oct 14, 2021
@p-bakker p-bakker removed this from In progress in v2.0.0 Oct 14, 2021
@p-bakker p-bakker added this to To do in v2.0.0 via automation Oct 14, 2021
@p-bakker p-bakker moved this from To do to bugs in v2.0.0 Oct 14, 2021
MaxisTekfield added a commit to MaxisTekfield/rhino that referenced this issue Nov 27, 2021
MaxisTekfield added a commit to MaxisTekfield/rhino that referenced this issue Nov 27, 2021
MaxisTekfield added a commit to MaxisTekfield/rhino that referenced this issue Nov 27, 2021
MaxisTekfield added a commit to MaxisTekfield/rhino that referenced this issue Nov 27, 2021
@p-bakker p-bakker added this to the Release 1.7.15 milestone Nov 28, 2021
v2.0.0 automation moved this from To do: bugs to Done Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues considered a bug Ecma Incompatibility Issues about Rhino being incompatible with the EcmaScript spec
Projects
Development

Successfully merging a pull request may close this issue.

2 participants