Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d1c00dc

Browse files
修正了第30天文档中的问题
1 parent b921125 commit d1c00dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Day21-30/30.正则表达式的应用.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
| `{N}` | 匹配N次 | `\w{3}` | |
3232
| `{M,}` | 匹配至少M次 | `\w{3,}` | |
3333
| `{M,N}` | 匹配至少M次至多N次 | `\w{3,6}` | |
34-
| `|` | 分支 | `foo|bar` | 可以匹配foo或者bar |
34+
| `\|` | 分支 | `foo\|bar` | 可以匹配foo或者bar |
3535
| `(?#)` | 注释 | | |
3636
| `(exp)` | 匹配exp并捕获到自动命名的组中 | | |
3737
| `(?<name>exp)` | 匹配exp并捕获到名为name的组中 | | |

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /