[
https://issues.jboss.org/browse/RF-11531?page=com.atlassian.jira.plugin.s...
]
Brian Leathem commented on RF-11531:
------------------------------------
It's not just leading whitespace. Using an input value of "123a" the
validation passes as well.
Client side validation: regexp ignores whitespace at the beginning
------------------------------------------------------------------
Key: RF-11531
URL:
https://issues.jboss.org/browse/RF-11531
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-input
Affects Versions: 4.1.0.Milestone3
Reporter: Jan Papousek
Fix For: 4.1.0.Milestone4
Let "[a-z].*" is expected regexp and input value is " a". The value
shouldn't pass the validation, but it passes.
This can be reproduced in Metamer:
-
http://localhost:8080/metamer/faces/components/richAutocomplete/csv.xhtml
-
http://localhost:8080/metamer/faces/components/richInplaceInput/csv.xhtml
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira