wasnt using the regex operator for mac test