simplify regExp