Hi!

I do not understand why my regex works , then does not.

regex:

my  (@dat) = /(\w+\s+\w+\s+)=\s+(\w+)_(\w+)_(\w+)_/;


Works!

    Process Name = D4_jerry_5LM_1.91_BF 

Returns:

   Process Name DM4 15C035 5LM

Does NOT work:

   Process Name = d4_jerry_5lm 

Is there a better way to write this regex?

Thanks,

Jerry

Reply via email to