You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oro-user@jakarta.apache.org by "Daniel F. Savarese" <df...@savarese.org> on 2001/07/25 19:32:06 UTC

Re: Is there a bug with :alpha:?

In message <20...@lenard.microcelli5.com>, Laurent Duperval
 writes:
>[:alnum:]
>
>but this doesn't:
>
>[:alpha:]
>
>Am I just using it wrong or is this a known bug?

You're probably using [:alpha:] instead of [[:alpha:]] and when
you tried [:alnum:] you tested against a letter in :alnum.  [[:alpha:]]
works fine (in 2.0.3).

daniel



Re: Is there a bug with :alpha:?

Posted by Laurent Duperval <ld...@microcelli5.com>.
On 25 Jul, Daniel F. Savarese wrote:
> 
> In message <20...@lenard.microcelli5.com>, Laurent Duperval
>  writes:
>>[:alnum:]
>>
>>but this doesn't:
>>
>>[:alpha:]
>>
>>Am I just using it wrong or is this a known bug?
> 
> You're probably using [:alpha:] instead of [[:alpha:]] and when
> you tried [:alnum:] you tested against a letter in :alnum.  [[:alpha:]]
> works fine (in 2.0.3).
> 
> daniel

I don't know. In the Applet, I tried

[[:alnum:]]

With "J" in the entry box and it returns 1 match. If I do the same with
[[:alpha:]] it doesn't work (0 matches). How do locales affect this (if at
all)?

L

-- 
Laurent Duperval <ma...@microcelli5.com>

"I realized that the purpose of writing is to inflate ideas, obscure poor
reasoning, and inhibit clarity."
                                    -Calvin