Testing the regexp.