add test for isRegex