Merge pull request #257 from mayrainLN/master

Correct a mistake in Chinese version
This commit is contained in:
Zeeshan Ahmad 2025-03-26 23:49:29 -04:00 committed by GitHub
commit 24df4e103b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,7 +35,7 @@
## 什么是正则表达式?
[![](https://img.shields.io/badge/-Download%20PDF%20-0a0a0a.svg?style=flat&colorA=0a0a0a)](https://gum.co/learn-regex)
> 正则表达式是一组由字母和符号组成的特殊文本, 它可以用来从文本中找出满足你想要的格式的句子.
@ -468,7 +468,7 @@
像之前介绍的 `(^,$)` 用于检查格式是否是在待检测字符串的开头或结尾. 但我们如果想要它在每行的开头和结尾生效, 我们需要用到多行修饰符 `m`.
例如, 表达式 `/at(.)?$/gm` 表示在待检测字符串每行的末尾搜索 `at`后跟一个或多`.` 的字符串, 并返回全部结果.
例如, 表达式 `/at(.)?$/gm` 表示在待检测字符串每行的末尾搜索 `at`后跟0个或1`.` 的字符串, 并返回全部结果.
<pre>
"/.at(.)?$/" => The fat