in reply to regex on a line

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:

m/^Update Status:\s*?(\w+)\s*?\(\w+:?\s*?(\w+)\)/

and then:

($target, $view) = ($1, $2);

hope this helps,