Fixed regex example expression typo.

[SVN r12792]
This commit is contained in:
John Maddock
2002-02-13 12:30:22 +00:00
parent 44d33b20d5
commit 76c85c7c34

View File

@ -87,7 +87,7 @@ tended to be hard-coded to the C-locale, consequently this was
not an issue for them). That leaves us with the following regular
expression to validate credit card number formats:</p>
<p>(\d{4}[- ]){3}\d</p>
<p>(\d{4}[- ]){3}\d{4}</p>
<p>Here the parenthesis act to group (and mark for future
reference) sub-expressions, and the {4} means &quot;repeat