We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a4a553 commit 7f26705Copy full SHA for 7f26705
9-regular-expressions/07-regexp-escaping/article.md
@@ -92,7 +92,7 @@ let regexp = new RegExp(regStr);
92
alert( "Chapter 5.1".match(regexp) ); // 5.1
93
```
94
95
-## Summary
+## 总结
96
97
- 要在字面意义上搜索特殊字符 `pattern:[ \ ^ $ . | ? * + ( )`,我们需要在它们前面加上一个反斜杠 `\`(“转义它们”)。
98
- 如果在 `pattern:/.../` 内(但不在 `new RegExp` 内),我们还需要转义 `/`。
0 commit comments