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


in reply to regexp question

Try replacing the space character in your match with "\s*". The '*' says to match a whitespace character 0 or more times.