It is called as “greedy match” because Perl regular expressions normally match the longest string possible.