mirror of
https://github.com/ziishaned/learn-regex.git
synced 2025-09-09 15:16:00 -04:00
fix a zh translation typo
This commit is contained in:
parent
d6c5519e19
commit
6f4fd0660d
@ -300,7 +300,7 @@
|
||||
|
||||
`^` 用来检查匹配的字符串是否在所匹配字符串的开头.
|
||||
|
||||
例如, 在 `abc` 中使用表达式 `^a` 会得到结果 `a`. 但如果使用 `^b` 将匹配不到任何结果. 应为在字符串 `abc` 中并不是以 `b` 开头.
|
||||
例如, 在 `abc` 中使用表达式 `^a` 会得到结果 `a`. 但如果使用 `^b` 将匹配不到任何结果. 因为在字符串 `abc` 中并不是以 `b` 开头.
|
||||
|
||||
例如, `^(T|t)he` 匹配以 `The` 或 `the` 开头的字符串.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user