Merge bf12d8772998bbf7245b6d43d497942fd54e74d2 into b401be17937ad0024d0be586a88bb8a087be34bf

This commit is contained in:
Tim Dinh 2017-07-25 12:09:55 +00:00 committed by GitHub
commit 1cd859b318

View File

@ -180,7 +180,7 @@ character can be repeated. For example the regular expression `[0-9]{2,3}` means
characters in the range of 0 to 9).
<pre>
"[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.
"[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.
</pre>
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