bug fix in regular expression.