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
https://javascript.info/regexp-escaping
Here’s a full list of them: [ \ ^ $ . | ? * + ( )
It seems to me you forgot the { , which also needs to be escaped outside a class.
{
Let's say we want to match literally {3} , the regular expression should be var patt = /\{3}/;
{3}
var patt = /\{3}/;
The text was updated successfully, but these errors were encountered:
6989312
No branches or pull requests
https://javascript.info/regexp-escaping
It seems to me you forgot the
{
, which also needs to be escaped outside a class.Let's say we want to match literally
{3}
, the regular expression should bevar patt = /\{3}/;
The text was updated successfully, but these errors were encountered: