Lines Matching refs:re
13 import re
326 match = re.match(r'\s*(\d+)\s*(\d+)\s*$',
387 search = re.compile(r"(?<=^%s)\s*(.*)" % linestart, re.MULTILINE)
390 return re.split("%s" % sep, find.group(1))[param]
495 line = re.sub('#.*', '', line).rstrip()
498 match = re.match(pattern, line)
502 if re.search('^\d+$', value):
504 elif re.search('^(\d+\.)?\d+$', value):
533 key_regex = re.compile(r'^[-\.\w]+$')
537 escaped_tag = re.escape(type_tag)
538 key_regex = re.compile(r'^[-\.\w]+\{%s\}$' % escaped_tag)
1485 return re.sub(r'i\d86$', 'i386', os.uname()[4])
1489 if re.match(r'i\d86$', arch):
1506 if re.match(regex, filestr):
1522 re.findall(r'^siblings\s*:\s*(\d+)\s*$',
1523 siblings, re.M))
1973 ax = re.split('[.-]', ver1)
1974 ay = re.split('[.-]', ver2)
1995 arg_re = re.compile(r'(\w+)[:=](.*)$')