mirror of
https://github.com/ziishaned/learn-regex.git
synced 2025-09-07 22:25:13 -04:00
fix: spaces and period
This commit is contained in:
parent
3497a310c3
commit
cc5f395184
@ -243,7 +243,7 @@
|
||||
我们可以省略第二个参数。
|
||||
例如,`[0-9]{2,}` 匹配至少两位 0~9 的数字。
|
||||
如果逗号也省略掉则表示重复固定的次数。
|
||||
例如,`[0-9]{3}` 匹配3位数字
|
||||
例如,`[0-9]{3}` 匹配 3 位数字。
|
||||
|
||||
<pre>
|
||||
"[0-9]{2,}" => The number was 9.<a href="#learn-regex"><strong>9997</strong></a> but we rounded it off to <a href="#learn-regex"><strong>10</strong></a>.0.
|
||||
|
Loading…
x
Reference in New Issue
Block a user