modified some memory inefficient regexp comparison code using Java Pattern