simplify the regex