Lines Matching full:re
11 import re
23 RE_function = re.compile(r'\b(([a-zA-Z_]\w+)\(\))', flags=re.ASCII)
28 RE_generic_type = re.compile(r'\b(struct|union|enum|typedef)\s+([a-zA-Z_]\w+)',
29 flags=re.ASCII)
35 RE_struct = re.compile(r'\b(struct)\s+([a-zA-Z_]\w+)', flags=re.ASCII)
36 RE_union = re.compile(r'\b(union)\s+([a-zA-Z_]\w+)', flags=re.ASCII)
37 RE_enum = re.compile(r'\b(enum)\s+([a-zA-Z_]\w+)', flags=re.ASCII)
38 RE_typedef = re.compile(r'\b(typedef)\s+([a-zA-Z_]\w+)', flags=re.ASCII)
44 RE_doc = re.compile(r'(\bDocumentation/)?((\.\./)*[\w\-/]+)\.(rst|txt)')
45 RE_abi_file = re.compile(r'(\bDocumentation/ABI/[\w\-/]+)')
46 RE_abi_symbol = re.compile(r'(\b/(sys|config|proc)/[\w\-/]+)')
48 RE_namespace = re.compile(r'^\s*..\s*c:namespace::\s*(\S+)\s*$')
72 RE_git = re.compile(r'commit\s+(?P<rev>[0-9a-f]{12,40})(?:\s+\(".*?"\))?',
73 flags=re.IGNORECASE | re.DOTALL)
109 repl.append(markup_func[m.re](docname, app, m))
206 if not (match.re == RE_function and target in Skipfuncs):
207 lit_text = nodes.literal(classes=['xref', 'c', class_str[match.re]])
210 reftype = reftype_str[match.re],
219 reftype_str[match.re], target, pxref,