Lines Matching refs:re
15 import re
27 _DECLARATION_RE = re.compile(
31 re.A | re.S)
36 typ = re.sub(r'\s+', r' ', typ)
37 typ = re.sub(r'\s*\*', r' *', typ)
55 VOID_RE = re.compile(r'\s*\bvoid\s*\Z', re.A)
79 _C_COMMENT_RE = re.compile(r'//(?:[^\n]|\\\n)*|/\*.*?\*/', re.S)
80 _NOT_NEWLINES_RE = re.compile(r'[^\n]+')
90 content = re.sub(_C_COMMENT_RE,
91 lambda m: re.sub(_NOT_NEWLINES_RE, "", m.group(0)),
106 _C_FUNCTION_DECLARATION_RE = re.compile(
111 re.A | re.S)
124 if len(arguments) == 1 and re.match(FunctionInfo.VOID_RE, arguments[0]):