in reply to Re: Re: Regular Expression Builder
in thread Regular Expression Builder
Yup. But personally I consider that a feature not a bug. :-) After all ldkjdlkjf2098kklls probably isnt [[:alpha:]]+\d+[[:alpha:]]+
But we are both in agreement that there isnt a good way to do this, although as we both have shown there are a variety of bad ways to do it... BTW, is the . really necessary? I dont think it is as the s/// will just skip the char if it doesnt match.
Oh and I considered using something like you post here, but I fgured that considering I tend not to use the POSIX char classes that much probably others wouldnt either.
:-)
Yves / DeMerphq
---
Software Engineering is Programming when you can't. -- E. W. Dijkstra (RIP)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Regular Expression Builder
by Anonymous Monk on Aug 30, 2002 at 17:29 UTC | |
|
Re(4): Regular Expression Builder
by Dog and Pony (Priest) on Sep 02, 2002 at 20:11 UTC |