Regex Help?
Doran L. Barton
fozz at hypermoo.com
Sat Oct 8 14:56:55 MDT 2011
On Saturday, October 08, 2011 01:49:36 PM Steve Meyers wrote:
> /^([0-9]+) (.+) ([0-9]+) ([0-9.]+) ([0-9.]+) ([0-9.]+) ([0-9]+) ([A-Z]+)$/
This is a lot simpler if you use PCREs (e.g. \w+, \d+, etc.). You kind of
already are (+ is a PCRE operator).
--
Doran L. Barton - Hypermoo Inc. - <fozz at hypermoo.com> - 801-520-9875
Open source consulting, custom development, systems/network administration
"A baby is on a car."
-- Warning sign affixed to car window in Japan
More information about the PLUG
mailing list