remove redundant regexp