Lines Matching full:re
11 import re
15 # Python 2 lacks re.ASCII...
18 ascii_p3 = re.ASCII
29 RE_function = re.compile(r'\b(([a-zA-Z_]\w+)\(\))', flags=ascii_p3)
34 RE_generic_type = re.compile(r'\b(struct|union|enum|typedef)\s+([a-zA-Z_]\w+)',
41 RE_struct = re.compile(r'\b(struct)\s+([a-zA-Z_]\w+)', flags=ascii_p3)
42 RE_union = re.compile(r'\b(union)\s+([a-zA-Z_]\w+)', flags=ascii_p3)
43 RE_enum = re.compile(r'\b(enum)\s+([a-zA-Z_]\w+)', flags=ascii_p3)
44 RE_typedef = re.compile(r'\b(typedef)\s+([a-zA-Z_]\w+)', flags=ascii_p3)
50 RE_doc = re.compile(r'(\bDocumentation/)?((\.\./)*[\w\-/]+)\.(rst|txt)')
52 RE_namespace = re.compile(r'^\s*..\s*c:namespace::\s*(\S+)\s*$')
76 RE_git = re.compile(r'commit\s+(?P<rev>[0-9a-f]{12,40})(?:\s+\(".*?"\))?',
77 flags=re.IGNORECASE | re.DOTALL)
119 repl.append(markup_func[m.re](docname, app, m))
216 if not (match.re == RE_function and target in Skipfuncs):
217 lit_text = nodes.literal(classes=['xref', 'c', class_str[match.re]])
220 reftype = reftype_str[match.re],
229 reftype_str[match.re], target, pxref,