jakarta-regexp-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Stevens <...@latchkey.com>
Subject Re: confusing behaviour of regexp code
Date Fri, 21 Jul 2000 00:23:13 GMT
on 6/29/2000 10:58 AM, "Nathan Coast" <nathan.coast@netdecisions.co.uk>
wrote:

> firstly is this the correct place to be sending these sort of questions?

yes.

> why should the ordering of the character values within [  ] be significant?
> 
> e.g. this string "-12+)( 3   "
> 
> is failed by
> 
> ^[\\(\\)0-9\\-\\+ ]+$
> 
> and passed by
> 
> ^[0-9\\-\\+ \\(\\)]+$

Ug. I'm no regex expert, but it sounds like it could be a bug.

-jon


Mime
View raw message