in reply to What does this regex do?
So let me get this straight. The part before the (? matches anything that begins with a dot, a digit or more and a -? If so, what does everything inside (?: ) do? Only thing I can think of is before it hits that group it will ONLY match a dot, a - or a set of digits and the group itself allows you to use any combination of them (ie -1.094).
Am I anywhere close? One other thing, you said it allows two decimal points, how can I only get it to accept one?
"Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"
sulfericacid
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: What does this regex do?
by dpuu (Chaplain) on Apr 01, 2003 at 19:54 UTC |