mirror of
https://github.com/ziishaned/learn-regex.git
synced 2025-08-04 10:36:33 -04:00
Correct a mistake in Chinese version
This commit is contained in:
parent
40f1207d9a
commit
d9f1393d0e
@ -468,7 +468,7 @@
|
||||
|
||||
像之前介绍的 `(^,$)` 用于检查格式是否是在待检测字符串的开头或结尾. 但我们如果想要它在每行的开头和结尾生效, 我们需要用到多行修饰符 `m`.
|
||||
|
||||
例如, 表达式 `/at(.)?$/gm` 表示在待检测字符串每行的末尾搜索 `at`后跟一个或多个 `.` 的字符串, 并返回全部结果.
|
||||
例如, 表达式 `/at(.)?$/gm` 表示在待检测字符串每行的末尾搜索 `at`后跟0个或1个 `.` 的字符串, 并返回全部结果.
|
||||
|
||||
<pre>
|
||||
"/.at(.)?$/" => The fat
|
||||
|
Loading…
x
Reference in New Issue
Block a user