sounds like you know your regexes. Thinking about the whole thing again all I need is the code below because \w does not match spaces so will stop at the first space.
if ($line =~ m/^update\ (\w*)/){ print $1."\n"; }
In reply to Re^4: why is regex not matching final character?
by fiverivers
in thread why is regex not matching final character?
by fiverivers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |