Slight correction to my last post:
: my $float_re = qr{
:
: \d+\.\d+ # Matches "2.3"
: | \d+\. # Matches "2."
: | \.=d+ # Matches ".2"
: | \d+ # Matches "2"
:
: }x; # "x" means "extended regex syntax"
In the third line of the first regex, "=" should be "\".
-- tdk
- Complex Regex. Allen_Gregg
- Re: Complex Regex. Paul
- Re: Complex Regex. M.W. Koskamp
- Re: Complex Regex. Timothy Kimball
- Re: Complex Regex. David H. Adler
- Timothy Kimball
