On Tue, Jul 08, 2003 at 02:48:59PM -0400, Paul Kraus wrote: > Expression > /Sales - Freight - Leimkuehler\s+(\d+,?\d+\.?\d+)/ > > String > 410-02-00 Sales - Freight - Leimkuehler > 6.96 > > It does match if I remove everything after Leimkuehler. > This is how it reads to me > > 1 or more spaces > Open paren to save value to $1 > 1 or more digits > Maybe a comma but not necessary > 1 or more digits > Maybe a period but its not necessary. > 1 or more digits
Look carefully at what you just wrote, and "6.96". You might want to take a look at Regexp::Common on CPAN. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]