Searched refs:matchobj (Results 1 – 7 of 7) sorted by relevance
/third_party/node/deps/npm/node_modules/node-gyp/gyp/tools/ |
D | pretty_gyp.py | 25 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/ |
D | pretty_gyp.py | 25 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/ |
D | parsesetup.py | 26 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/ |
D | escape4chm.py | 15 def escape(matchobj): argument 16 codepoint = ord(matchobj.group(0))
|
/third_party/nghttp2/doc/ |
D | mkapiref.py | 304 def arg_repl(matchobj): argument 305 return '*{}*'.format(matchobj.group(1).replace('*', '\\*'))
|
/third_party/python/Lib/test/ |
D | test_re.py | 86 def bump_num(self, matchobj): argument 87 int_value = int(matchobj.group(0))
|
/third_party/python/Doc/library/ |
D | re.rst | 879 >>> def dashrepl(matchobj): 880 ... if matchobj.group(0) == '-': return ' '
|