Home
last modified time | relevance | path

Searched refs:matchobj (Results 1 – 7 of 7) sorted by relevance

/third_party/node/deps/npm/node_modules/node-gyp/gyp/tools/
Dpretty_gyp.py25 def comment_replace(matchobj): argument
26 return matchobj.group(1) + matchobj.group(2) + "#" * len(matchobj.group(3))
35 def quote_replace(matchobj): argument
37 matchobj.group(1),
38 matchobj.group(2),
39 "x" * len(matchobj.group(3)),
40 matchobj.group(2),
/third_party/node/tools/gyp/tools/
Dpretty_gyp.py25 def comment_replace(matchobj): argument
26 return matchobj.group(1) + matchobj.group(2) + "#" * len(matchobj.group(3))
35 def quote_replace(matchobj): argument
37 matchobj.group(1),
38 matchobj.group(2),
39 "x" * len(matchobj.group(3)),
40 matchobj.group(2),
/third_party/python/Tools/freeze/
Dparsesetup.py26 matchobj = makevardef.match(line)
27 if not matchobj:
29 (name, value) = matchobj.group(1, 2)
68 matchobj = setupvardef.match(line)
69 if matchobj:
70 (name, value) = matchobj.group(1, 2)
/third_party/python/Doc/tools/extensions/
Descape4chm.py15 def escape(matchobj): argument
16 codepoint = ord(matchobj.group(0))
/third_party/nghttp2/doc/
Dmkapiref.py304 def arg_repl(matchobj): argument
305 return '*{}*'.format(matchobj.group(1).replace('*', '\\*'))
/third_party/python/Lib/test/
Dtest_re.py86 def bump_num(self, matchobj): argument
87 int_value = int(matchobj.group(0))
/third_party/python/Doc/library/
Dre.rst879 >>> def dashrepl(matchobj):
880 ... if matchobj.group(0) == '-': return ' '