use is_regex. Avoid camelCase.