Lines Matching refs:re
34 import re
96 if re.match("^\s*$", line):
118 line = re.sub("^(\s*)<.+> ", "\1", line)
131 if re.search("resource out of date", error.output):
204 match = re.search(status_regexp, line)
213 match = re.match("^r(?P<svn_revision>\d+)", unicode(svn_revision))
219 match = re.search(self.commit_success_regexp(), commit_text, re.MULTILINE)
364 match = re.search("^%s: (?P<value>.+)$" % field_name, info_output, re.MULTILINE)
372 # If |path| is not in a working directory, we're supposed to return |path|.
399 # on this checkout at the same time. However, it's much more likely that we're running
462 match = re.search('^r(?P<revision>\d+) ', line)
626 return re.search('x86_64', file_output)
722 # FIXME: I'm not sure we're returning the same set of files that SVN.changed_files is.
743 # as we're passing --name-status which does not output any data.
762 match = re.search("^\s*git-svn-id:.*@(?P<svn_revision>\d+)\ ", git_log, re.MULTILINE)
888 # We're on a different branch now, so convert "head" to the branch name.
889 commit = re.sub(r'(?i)head', branch_name, commit)