Added matchAgainst in regexp check.