Skip to content

Commit e663c9f

Browse files
dandanioziishaned
authored andcommitted
Error in example. {2} =/= {2,3} (ziishaned#10)
1 parent d1d4911 commit e663c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ character can be repeated. For example the regular expression `[0-9]{2,3}` means
180180
characters in the range of 0 to 9).
181181

182182
<pre>
183-
"[0-9]{2}" => The number was 9.<a href="#learn-regex"><strong>999</strong></a>7 but we rounded it off to <a href="#learn-regex"><strong>10</strong></a>.0.
183+
"[0-9]{2,3}" => The number was 9.<a href="#learn-regex"><strong>999</strong></a>7 but we rounded it off to <a href="#learn-regex"><strong>10</strong></a>.0.
184184
</pre>
185185

186186
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

0 commit comments

Comments
 (0)