in reply to Re: Promiscuously match what might be prices
in thread Promiscuously match what might be prices
I wound up with
my $promiscuous_price = qr/ (?: $RE{num}{real} #matches 123456.78 | $RE{num}{real}{-radix => qr/[.]/}{-sep => qr/[,]/} #matches 123, +456.78 | $RE{num}{real}{-radix => qr/[,]/}{-sep => qr/[.]/} #matches 123. +456,78 ) /x;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Promiscuously match what might be prices
by diotalevi (Canon) on Apr 10, 2006 at 18:45 UTC |