http://www.perlmonks.org?node_id=179551


in reply to Regex problem

this regex seems to work too :
m/^(.*\s+keyword=)(\d+)(\s+.+)$/ (the +? has been replaced by *)