used isRegex as the base class for isChinese validator