Fix redundant regular expression