Lines Matching full:re
15 import re
19 # Python 2 lacks re.ASCII...
22 ascii_p3 = re.ASCII
33 RE_function = re.compile(r'\b(([a-zA-Z_]\w+)\(\))', flags=ascii_p3)
38 RE_generic_type = re.compile(r'\b(struct|union|enum|typedef)\s+([a-zA-Z_]\w+)',
45 RE_struct = re.compile(r'\b(struct)\s+([a-zA-Z_]\w+)', flags=ascii_p3)
46 RE_union = re.compile(r'\b(union)\s+([a-zA-Z_]\w+)', flags=ascii_p3)
47 RE_enum = re.compile(r'\b(enum)\s+([a-zA-Z_]\w+)', flags=ascii_p3)
48 RE_typedef = re.compile(r'\b(typedef)\s+([a-zA-Z_]\w+)', flags=ascii_p3)
54 RE_doc = re.compile(r'(\bDocumentation/)?((\.\./)*[\w\-/]+)\.(rst|txt)')
56 RE_namespace = re.compile(r'^\s*..\s*c:namespace::\s*(\S+)\s*$')
116 repl.append(markup_func[m.re](docname, app, m))
213 if not (match.re == RE_function and target in Skipfuncs):
214 lit_text = nodes.literal(classes=['xref', 'c', class_str[match.re]])
217 reftype = reftype_str[match.re],
226 reftype_str[match.re], target, pxref,