-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: documentation
-
Labels:None
The regexp used for zip code validation in the Tapestry 5 tutorial (http://tapestry.apache.org/using-beaneditform-to-create-user-forms.html) is
d
d{4})?
It should be ^
d{5}
(-
d
)?$ to get the desired behavior.