Skip to content

Commit 6098d27

Browse files
committed
fix ziishaned#26 - Change braces example
1 parent 798a340 commit 6098d27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ characters in the range of 0 to 9).
208208
[Test the regular expression](https://regex101.com/r/juM86s/1)
209209

210210
We can leave out the second number. For example, the regular expression `[0-9]{2,}` means: Match 2 or more digits. If we also remove
211-
the comma the regular expression `[0-9]{2}` means: Match exactly 2 digits.
211+
the comma the regular expression `[0-9]{3}` means: Match exactly 3 digits.
212212

213213
<pre>
214214
"[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.
@@ -217,7 +217,7 @@ the comma the regular expression `[0-9]{2}` means: Match exactly 2 digits.
217217
[Test the regular expression](https://regex101.com/r/Gdy4w5/1)
218218

219219
<pre>
220-
"[0-9]{2}" => The number was 9.<a href="#learn-regex"><strong>99</strong></a><a href="#learn-regex"><strong>97</strong></a> but we rounded it off to <a href="#learn-regex"><strong>10</strong></a>.0.
220+
"[0-9]{3}" => The number was 9.<a href="#learn-regex"><strong>999</strong></a>7 but we rounded it off to 10.0.
221221
</pre>
222222

223223
[Test the regular expression](https://regex101.com/r/gqajq8/1)

0 commit comments

Comments
 (0)