Fix regex 3+

Should fix the regex parsing.