Fixed slow regex.