Skip to content

v10.0.0-alhpa.1 regex regression #5524

@JasoonS

Description

@JasoonS

The following line of regex broke on my codebase when trying upgrade to v10:

let blockCommentsRe = %re("/\\/\\*([^*]|[\\r\\n]|(\\*+([^*/]|[\\r\\n])))*\\*+\\//g")

Here is a playground of this working in the current stable rescript version.

Many thanks for the hard work, super excited that rescript is moving forward 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions