Test the regex timeout