Fixed the regexp error in validating receptor