We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 711b4ff + ec2e59a commit c1b4c1cCopy full SHA for c1b4c1c
07-regexp-escaping/article.md
@@ -96,4 +96,4 @@ alert( "Chapter 5.1".match(regexp) ); // 5.1
96
97
- To search for special characters `pattern:[ \ ^ $ . | ? * + ( )` literally, we need to prepend them with a backslash `\` ("escape them").
98
- We also need to escape `/` if we're inside `pattern:/.../` (but not inside `new RegExp`).
99
-- When passing a string `new RegExp`, we need to double backslashes `\\`, cause string quotes consume one of them.
+- When passing a string to `new RegExp`, we need to double backslashes `\\`, cause string quotes consume one of them.
0 commit comments