commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: [validator] Trouble using global constants in variable values
Date Thu, 11 Feb 2010 02:58:35 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All,

On 2/10/2010 8:55 PM, Christopher Schultz wrote:
> I'm looking for jakarta-oro's pattern syntax, but I can't seem to find a
> reference to it, other than that it is "Perl 5 compatible". Perl 5 says
> stuff like \p{...} works, but I'll have to look at it in more detail.
> It's also possible that ORO doesn't really provide the Unicode portion
> of the Perl 5 regexp pattern syntax. The project is somewhat stale...

I tried the pattern "/^.*\\p{IsAlpha}.*$/" in ORO and it can't
successfully match simple stuff like "abc", so I think support for \p
constructs for Unicode isn't supported in ORO.

I think I'll try my luck with a custom validator.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktzclsACgkQ9CaO5/Lv0PDRfACeKbqWSfDKeiPxHOShWN+scWbd
AzkAoJP1nhXkUoQmiWhxwl58s1d5QkMl
=df+c
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message