I was practicing regular expressions and attempted to write a regex which will detect "cay" and "cabby" and also "catty". I feel this is correct:
ca(([bt])\1*)?y
but on trying this on RegexBuddy, I see that it only matches "cay". Can anyone find the problem?
thanks, Mishal