Lines Matching full:regex
106 regex = re.compile(r'^[a-z_][a-z0-9_]*$', re.I)110 return regex.match(string)