Skip to content

Commit 7f26705

Browse files
authored
fix: update translation (#1228)
1 parent 8a4a553 commit 7f26705

File tree

1 file changed

+1
-1
lines changed
  • 9-regular-expressions/07-regexp-escaping

1 file changed

+1
-1
lines changed

9-regular-expressions/07-regexp-escaping/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ let regexp = new RegExp(regStr);
9292
alert( "Chapter 5.1".match(regexp) ); // 5.1
9393
```
9494

95-
## Summary
95+
## 总结
9696

9797
- 要在字面意义上搜索特殊字符 `pattern:[ \ ^ $ . | ? * + ( )`,我们需要在它们前面加上一个反斜杠 `\`(“转义它们”)。
9898
- 如果在 `pattern:/.../` 内(但不在 `new RegExp` 内),我们还需要转义 `/`

0 commit comments

Comments
 (0)