Skip to content

RegExp exec should not match when lastIndex is negative #82

@pvginkel

Description

@pvginkel

The specs state that when lastIndex is negative (or beyond the length of the source string), RegExp.exec should stop immediately and return null. However, there is a test that expects exec to still perform a match.

It must be verified that it is OK that this test is suppressed. The test262-ignore.json file contains a reference to this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions