Home
last modified time | relevance | path

Searched refs:repl (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dre.py144 def sub(pattern, repl, string, count=0, flags=0): argument
151 return _compile(pattern, flags).sub(repl, string, count)
153 def subn(pattern, repl, string, count=0, flags=0): argument
162 return _compile(pattern, flags).subn(repl, string, count)
255 repl, pattern = key
257 p = sre_parse.parse_template(repl, pattern)
Dgettext.py105 def repl(x): function
107 expr.sub(repl, x.group(3)))
120 s = expr.sub(repl, stack.pop())
124 plural = expr.sub(repl, stack.pop())
Dsmtplib.py482 (code, repl) = self.getreply()
484 print>>stderr, "data:", (code, repl)
486 raise SMTPDataError(code, repl)
Dmimify.py45 repl = re.compile('^subject:\\s+re: ', re.I) variable
152 if not prefix and repl.match(line):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dre.py148 def sub(pattern, repl, string, count=0, flags=0): argument
155 return _compile(pattern, flags).sub(repl, string, count)
157 def subn(pattern, repl, string, count=0, flags=0): argument
166 return _compile(pattern, flags).subn(repl, string, count)
269 repl, pattern = key
271 p = sre_parse.parse_template(repl, pattern)
Dgettext.py107 def repl(x): function
109 expr.sub(repl, x.group(3)))
122 s = expr.sub(repl, stack.pop())
126 plural = expr.sub(repl, stack.pop())
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_re.py771 pattern = s = outcome = repl = expected = None
773 pattern, s, outcome, repl, expected = t
826 repl = eval(repl, vardict)
827 if repl != expected:
829 print repr(repl) + ' should be ' + repr(expected)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/faqwiz/
Dfaqwiz.py90 repl = '<A HREF="%s">%s</A>' % (url, url)
92 repl = '<A HREF="mailto:%s">%s</A>' % (url, url)
94 repl = url
95 list.append(repl)