Announcement Announcement Module
No announcement yet.
[spring Faces] Problem with a regular expression Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • [spring Faces] Problem with a regular expression

    Hi all,

    I want to build a regular expression for validating a simple name,
    a name can be composed by : A-Z, a-z and other caracters like : , , , , , ', - and space

    but the regular expression doesn't supporte the extended ASCII caracters
    How can I resolve it ?

    thank you

  • #2
    Hi, according to this site, Java does not support non ASCII word characters using \w. If you have only a few, you might want to write it out using [a-zA-Z....] but I'm sure you don't want to do that for all Unicode characters...

    Just now I found this feature:


    Does that work for you? I did a test, and it seems to work with me.
    Last edited by Jeroen Kransen; Mar 17th, 2009, 07:39 AM.