Home | History | Annotate | Download | only in checkers

Lines Matching full:subn

158 def subn(pattern, replacement, s):
162 return _regexp_compile_cache[pattern].subn(replacement, s)
2956 line, number_of_replacements = subn(r'<([\w\s:]|::)+\s*[*&]*\s*>', '', line)
2974 line, control_statement = subn(r'^\s*(while|else if|if|switch)\s*\(', '', line)