Find the longest regex match, not just the first one.