Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: regex on a lineby CukiMnstr (Deacon) |
on Aug 01, 2002 at 16:18 UTC ( [id://186822]=note: print w/replies, xml ) | Need Help?? |
hm. let's see: i don't think you need the non-backreferencing parentheses around 'Update Status'. also, when you are looking for $view, you get $1 again, and that is still 'open'.
you might get what you want with a simple split(), but maybe you have those '\s*' because sometimes you don't have whitespace between the fields... you could use only one regex, and with it capture both fields:
and then:
hope this helps,
In Section
Seekers of Perl Wisdom
|
|