You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -208,7 +208,7 @@ characters in the range of 0 to 9).
208
208
[Test the regular expression](https://regex101.com/r/juM86s/1)
209
209
210
210
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.
212
212
213
213
<pre>
214
214
"[0-9]{2,}" => The number was 9.<ahref="#learn-regex"><strong>9997</strong></a> but we rounded it off to <ahref="#learn-regex"><strong>10</strong></a>.0.
@@ -217,7 +217,7 @@ the comma the regular expression `[0-9]{2}` means: Match exactly 2 digits.
217
217
[Test the regular expression](https://regex101.com/r/Gdy4w5/1)
218
218
219
219
<pre>
220
-
"[0-9]{2}" => The number was 9.<ahref="#learn-regex"><strong>99</strong></a><ahref="#learn-regex"><strong>97</strong></a> but we rounded it off to <ahref="#learn-regex"><strong>10</strong></a>.0.
220
+
"[0-9]{3}" => The number was 9.<ahref="#learn-regex"><strong>999</strong></a>7 but we rounded it off to 10.0.
221
221
</pre>
222
222
223
223
[Test the regular expression](https://regex101.com/r/gqajq8/1)
0 commit comments