[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Fun with regular expressions
Max Chappell wrote: > Another piece of advice is to use nested brackets such as: > "[a-zA-Z-[ABC]]" (Use any letters except AB or C). > Along these lines I've tried: > "[.-[NaN]]*" - far from working... Does something like (.-[Na])+ work? I'm unsure that . is a proper character class that's subject to substraction. > This does not allow .00009 for example, so we'll have to make the reg > exp even more complicated. I believe I have one somewhere that's close to being good and that could exclude NaN. However it's several lines long (when wrapped) and last year it tended to crash validators. I can dig it up if you don't find a pleasant solution. -- Robin Berjon
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|