We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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/
The text was updated successfully, but these errors were encountered:
May I add regex support for extended x flag (currently Stage 3) with flexible whitespace and comments 🙏🏼 https://github.com/tc39/proposal-regexp-modifiers https://github.com/tc39/proposal-regexp-x-mode
x
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
JS has the following syntax for RegExp literals:
In ReScript, this would currently be expressed as
It would be nice if ReScript also had dedicated syntax for regexp literals, if possible identical to the JS version:
The text was updated successfully, but these errors were encountered: