Lines Matching refs:re
55 import re
97 # RE: UNICODE STRING HANDLING
107 # This means that if you're not careful, your program works
404 return re.match("^[0-9]+$", name)
477 return re.split(", *", s)
548 who = re.sub('@.*', '', m.get('sender', ''))
549 text = re.sub("\n(.|\n)*", '', m.get('text', ''))
753 elif re.search('<enter reason for undo>', clx.desc):
756 elif not re.match(desc_re, clx.desc.split('\n')[0]):
757 if promptyesno(ui, desc_msg + "re-edit (y/n)?"):
928 files = [f for f in files if f.startswith('src/') and re.search(r"\.[chys]$", f) and not re.search(r"\.tab\.[ch]$", f)]
941 if line.startswith(' ') and not re.match(' [A-Za-z0-9_]+:', line):
985 m = re.match(r"([^<>]+\S)\s+(<[^<>\s]+>)((\s+<[^<>\s]+>)*)\s*$", line)
1009 m = re.match(r".*<(.*)>", user)
1446 Then re-enable the code review plugin.
1491 all = re.findall('(?m)^http://codereview.appspot.com/([0-9]+)$', rev.description())
1528 if re.match('^[0-9]{7,}$', clname):
1639 m = re.match('@@ -([0-9]+),([0-9]+) \+([0-9]+),([0-9]+) @@', line)
1663 m = re.match('@@ -([0-9]+),([0-9]+) \+([0-9]+),([0-9]+) @@', line)
1969 # Push changes to remote. If it works, we're committed. If not, roll back.
1981 # We're committed. Upload final patch, close review, add commit message.
1984 m = re.match("(^https?://([^@/]+@)?([^.]+)\.googlecode\.com/hg/?)" + "|" +
2040 for clname in re.findall('(?m)^http://(?:[^\n]+)/([0-9]+)$', desc):
2369 m = re.match('\*\*\* Submitted as [^*]*?([0-9a-f]+) \*\*\*', text)
2665 import re
2858 # This is a dummy value to allow us to identify when we're successful.
3402 m = re.match("diff --git a/(\S+) b/(\S+)", line)