| /pkg/src/modules/ |
| H A D | choose.py | 9 import re namespace 18 # Setting the flag to re.I makes the regexp match using case 21 flag = re.I 22 match = re.compile(fnmatch.translate(pat), flag).match
|
| H A D | mediator.py | 25 import re namespace 37 if re.match("^[a-zA-Z0-9\-]+$", value): 110 if not error and iname and re.match("^[a-zA-Z0-9\-]+$", iname):
|
| H A D | mogrify.py | 29 import re namespace 56 attrdict[a] = re.compile(attrdict[a]) 57 except re.error as e: 191 regexp = re.compile(args[1]) 194 except re.error as e: 219 rx = re.compile(substitute_values(regexp, 229 except re.error as e: 253 regexp = re.compile(args[1]) 254 except re.error as e: 275 except re [all...] |
| H A D | _varcet.c | 98 PyObject *re = PyDict_GetItem(res, key); local 99 PyObject *match = PyObject_CallMethod(re,
|
| H A D | facet.py | 30 import re namespace 137 facet sources (local vs parent) and names, we're essentially 168 # check if we're getting compared against something other than 188 # still possible that we're changing the set of local or 285 self.__res[item] = re.compile(fnmatch.translate(item)) 341 self.__res[item] = re.compile(fnmatch.translate(item))
|
| /pkg/src/modules/portable/ |
| H A D | util.py | 27 import re namespace 84 return '.'.join((re.sub('[^0-9]', ' ', release)).split())
|
| /pkg/src/util/log-scripts/ |
| H A D | an_first_timestamp.py | 34 import re namespace 40 comb_log_pat = re.compile("(?P<ip>[\d\.]*) - - \[(?P<date>[^:]*):(?P<time>\S*) (?P<tz>[^\]]*)\] \"(?P<op>GET|POST|HEAD|\S*) (?P<uri>\S*) HTTP/(?P<httpver>[^\"]*)\" (?P<response>\d*) (?P<subcode>\d*|-) \"(?P<refer>[^\"]*)\" \"(?P<agent>[^\"]*)\"")
|
| H A D | log.py | 31 import re namespace 48 m = re.match(ex, l)
|
| H A D | an_filelist.py | 34 import re namespace 50 pkg_pat = re.compile("/filelist/(?P<mversion>\d+)/(?P<trailing>.*)")
|
| H A D | an_catalog.py | 54 import re namespace
|
| H A D | an_ip_active.py | 34 import re namespace
|
| H A D | an_manifest.py | 33 import re namespace 53 pkg_pat = re.compile("/manifest/(?P<mversion>\d+)/(?P<stem>[^@]*)@(?P<version>.*)")
|
| H A D | an_search.py | 33 import re namespace 52 pkg_pat = re.compile("/search/(?P<mversion>\d+)/(?P<keywords>.*)")
|
| /pkg/src/tests/api/ |
| H A D | t_elf.py | 33 import re namespace 78 p = re.sub("__ARCH__", arch, p)
|
| H A D | t_api_info.py | 34 import re namespace
|
| H A D | t_sysattr.py | 32 import re namespace 42 p_re = re.compile("{(?P<attrs>.*)}") 45 m = re.search(p_re, self.output)
|
| H A D | t_history.py | 33 import re namespace 290 self.assertTrue(re.match("operation-[123]", op_name)) 316 directory doesn't already exist as it will be re-created anyway.
|
| /pkg/src/tests/cli/ |
| H A D | t_pkg_help.py | 32 import re namespace 115 m = re.search(r"ja_JP.eucJP", line)
|
| H A D | t_pkg_nasty.py | 36 import re namespace 98 self.testpkgs.append(re.sub("__SUB__", pkgname, 100 self.testpkgs.append(re.sub("__SUB__", pkgname, 135 # since we're depending on knowing the internal layout
|
| H A D | t_pkg_refresh.py | 32 import re namespace 96 return re.sub(" +", " ", string) 118 log_entry = re.compile(r"\s+".join(entry_comps) + r"\s*\Z")
|
| H A D | t_pkgmogrify.py | 33 import re namespace 218 int(bool(re.search(regex, line)))
|
| H A D | t_pkg_history.py | 35 import re namespace 153 re.search("START\s+", o.splitlines()[0]) == None) 190 re.search("purge-history", o.splitlines()[0]) != None) 288 re.search("START\s+", o.splitlines()[0]) == None) 565 new_file = re.sub(".xml", "99.xml", latest)
|
| /pkg/src/modules/flavor/ |
| H A D | python.py | 28 import re namespace 150 py_bin_re = re.compile( 152 py_lib_re = re.compile(r"^usr/lib/python(?P<major>\d+)\.(?P<minor>\d+)/")
|
| /pkg/src/modules/client/ |
| H A D | printengine.py | 35 import re namespace 96 self.__putp_re = re.compile(r"\$<[0-9]+>") 161 # the flush entrypoint. If we're partially through 195 """If we're in the middle of writing a line, this tries to 298 # If we're not in ttymode, then the testing is simple.
|
| /pkg/src/modules/actions/ |
| H A D | depend.py | 35 import re namespace 118 # if we're not a linked child then ignore "parent" 358 pat = re.compile(r"pkg:///|pkg://[^/]*/|pkg:/")
|