in reply to (Regex Golf) Re: Matching floats according to perlfaq4
in thread Matching floats according to perlfaq4
As it makes more sense to me and I dont like the /i modifier. (Also I dont see any reason to capture the last block if you arent going to capture the others... :-)/^[+-]?(?=\.?\d)\d*(?:\.\d*)?(?:[Ee][+-]?\d+)?$/
Although im aware you were trying to make the regex shorter... Personally I wouldn't.
--- demerphq
my friends call me, usually because I'm late....
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: (Regex Golf) Re: Matching floats according to perlfaq4
by sauoq (Abbot) on Sep 27, 2002 at 15:56 UTC |