jakarta-regexp-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Coast <nathan.co...@netdecisions.co.uk>
Subject confusing behaviour of regexp code
Date Thu, 29 Jun 2000 17:58:50 GMT
firstly is this the correct place to be sending these sort of questions?
If not, sorry - can someone point me in the right direction.



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\\-\\+ \\(\\)]+$

Thanks 
Nathan

Mime
View raw message