Skip to content

basic check of js raw regex syntax #1205

@bobzhang

Description

@bobzhang

currently we have

let re = [%re "/a/" ]

It would be nice that we can do some basic checking to prevent bad things happen as below

let re = [%re "a" ]

which will be compiled into

var re = a

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions