Lines Matching refs:re
23 import re
87 if re.search(args.pattern + " [*]$", line):
91 m = re.search("gperf version (.*) [*][/]$", line)
102 line = re.sub(r'lengthtable\[key\]', r'sizeof(void *)', line)
105 line = re.sub(r'[{]["]["][}]', r'{}', line)
108 line = re.sub(r'static unsigned char lengthtable',
114 line = re.sub(r'register', r'', line)
117 line = re.sub(r"hash [(]str, len[)]",
121 if re.search("if [(][*]str", line):
127 line = re.sub(r'["].*["]', reformat_str, line)
130 line = re.sub(r'char asso_values', r'short asso_values', line)