Jerry Preston wrote:
Hi!

I am trying to setup a single regex to breakdown the following lines:

Jerry   2.7    4      4.5          mon
Mark    -14    -10.75 -10          new

With

      /(\w+)\s+(-?\d+.\d+)\s+(-?\d+.\d+)\s+(-?\d+.\d+)\s+(\w+)/;

What am I doing wrong?

At first glance, the regex appears to be fine, although I could just be missing something. What is your code and what happens instead of what you expect?


--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to