Closed
Description
JS has the following syntax for RegExp literals:
const myRegExp = /ab+c/;
In ReScript, this would currently be expressed as
let myRegExp = %re("/ab+c/")
It would be nice if ReScript also had dedicated syntax for regexp literals, if possible identical to the JS version:
let myRegExp = /ab+c/
Metadata
Metadata
Assignees
Labels
No labels