Skip to content

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

@tonygermano

Description

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

Expected: false

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ecma IncompatibilityIssues about Rhino being incompatible with the EcmaScript specbugIssues considered a bug

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions