Now calling regex.search instead of regex.match.

Match only looks at the beginning of the string, search scans through the whole
string. If the regex should only match the beginning of the string, one can use
the ^ (Carte) symbol.