[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-classpath] Predefined character classes in regular expressions

From: Jose Félix Torre
Subject: [bug-classpath] Predefined character classes in regular expressions
Date: Mon, 18 Jul 2005 08:02:40 +0200
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Hi all:
Last week I try to launch my java project using Classpath instead sun's sdk. I found the regular expressions of my project never match.

After some tests, I found that the Classpath regexp package don't understand character classes. This is an example of problematic java regex for Classpath :


this is an equivalent expression that works :


in general, none of the predefined character classes like \p{POSIX_GROUP} seems to work.

It wasn't a problem for my to rewrite all the patterns strings, but there are many situations in wich this'is not possible.


Este mensaje se dirige exclusivamente a su destinatario y puede contener 
información privilegiada o confidencial. Si no es vd. el destinatario indicado, 
queda notificado de que la utilización, divulgación y/o copia sin autorización 
está prohibida en virtud de la legislación vigente. Si ha recibido este mensaje 
por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y 
proceda a su destrucción.

This message is intended exclusively for its addressee and may contain 
information that is CONFIDENTIAL and protected by professional privilege. If 
you are not the intended recipient you are hereby notified that any 
dissemination, copy or disclosure of this communication is strictly prohibited 
by law. If this message has been received in error, please immediately notify 
us via e-mail and delete it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]