Lines Matching refs:re
70 import re, os, sys
109 if self.lenient and re.search(r'^\s*//', line):
113 if not re.search(r'^\s*/\*', line):
116 while not re.search(r'\*/', line):
123 if re.search(r'Copyright (?!\[yyyy\])', line):
127 if re.search(r'Copyright (?!\[yyyy\])', line):
152 IDENT = re.compile(r'(%s)' % '|'.join(idents))
186 match = re.search(r'^#ifndef\s([a-zA-Z0-9_]+)$', line)
205 if not re.search(r'^_.*%s[_]?$' % guardname, guard):
211 if not re.search(r'#define\s%s$' % guard, line):
246 match = re.search(r'^#include(.*)$', line)
252 if not lenient and not re.search(r'\s<.*>',
256 elif not in_cplusplus and re.search(r'^#ifdef\s__cplusplus$',
278 elif in_cplusplus and re.search(r'^#ifdef\s__cplusplus$', line):
297 elif re.search(r'^#endif\s/\* [!]?%s \*/$' % guard, line):