`re.search` stops at the first match, so it would be a bit more efficient.