AFAIK \p{Alpha}, \p{javaLowerCase}, \p{Lower} and others mentioned
all deal with ascii
If you want to match any letter in any language then
\p{L}
and that matches accented ones as well.
On Mon, Sep 21, 2009 at 1:41 PM, Madtyn wrote:
> I already use quickRex, a wonderful and handy tool but I did
I already use quickRex, a wonderful and handy tool but I didn't know
which flavour did I have to use, so I was confused about that.
About the \p{javaLowerCase}\p{javaUpperCase}, it seems to have
problems with 'ñ' spanish letter and letters with graphical accents.
Maybe I did something wrong. I fin
There are java specific operators that match letters:
\p{javaLowerCase}
\p{javaUpperCase}
So to make sure a string only contains letters (in any language) you could do
this:
^[\p{javaLowerCase}\p{javaUpperCase}]+$
If you're using Eclipse you might find this plugin handy, it allows you to test
Em Sun, 20 Sep 2009 21:02:57 -0300, Alejandro Scandroli
escreveu:
On Mon, Sep 21, 2009 at 12:33 AM, Madtyn wrote:
1) Which flavour of regexp does Tapestry use? I have looked for it on
the Internet but I couldn't find out. I know that there are the regexp
from Javascript, Jakarta and many ot
Hi Madtyn
Your pattern looks OK to me, it should work, just be sure the file
where you are writing the pattern is encoded in UTF-8.
This is the pattern I use: [a-zA-ZáéíóúñçÁÉÍÓÚÑÇ]+
Again, be sure your file is correctly encoded in UTF-8 and it should work.
Saludos.
--
Alejandro Scandroli - htt