Lines Matching defs:re
70 import re, os, sys
110 if self.lenient and re.search(r'^\s*//', line):
114 if not re.search(r'^\s*/\*', line):
117 while not re.search(r'\*/', line):
153 IDENT = re.compile(r'(%s)' % '|'.join(idents))
187 match = re.search(r'^#ifndef\s([a-zA-Z0-9_]+)$', line)
206 if not re.search(r'^_.*%s[_]?$' % guardname, guard):
212 if not re.search(r'#define\s%s$' % guard, line):
247 match = re.search(r'^#include(.*)$', line)
253 if not lenient and not re.search(r'\s<.*>',
257 elif not in_cplusplus and re.search(r'^#ifdef\s__cplusplus$',
279 elif in_cplusplus and re.search(r'^#ifdef\s__cplusplus$', line):
298 elif re.search(r'^#endif\s/\* [!]?%s \*/$' % guard, line):