Skip to content

Commit 806a7f9

Browse files
committed
2 parents 919a1cd + 04f861d commit 806a7f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

9-regular-expressions/03-regexp-unicode/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Unicode:修饰符 "u" 和 class \p{...}
1+
# Unicode:修饰符 "u" 和类 \p{...}
22

33
JavaScript 对字符串使用 [Unicode 编码](https://en.wikipedia.org/wiki/Unicode)。大多数字符使用 2 个字节编码,但这种方式只能编码最多 65536 个字符。
44

9-regular-expressions/09-regexp-quantifiers/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ alert( "0 1 12.345 7890".match(/\d+\.\d+/g) ); // 12.345
117117

118118
2. 进阶版:`pattern:/<[a-z][a-z0-9]*>/i`
119119

120-
根据标准,HTML 标签名称可以在除了第一个位置之外的任何位置有一个数字,例如 `<h1>`
120+
根据标准,HTML 标签名称可以在除了第一个位置之外的任何位置有一个数字,例如 `<h1>`
121121

122122
```js run
123123
alert( "<h1>Hi!</h1>".match(/<[a-z][a-z0-9]*>/gi) ); // <h1>

0 commit comments

Comments
 (0)