equal
deleted
inserted
replaced
49 stringio = util.stringio |
49 stringio = util.stringio |
50 |
50 |
51 gitre = re.compile(br'diff --git a/(.*) b/(.*)') |
51 gitre = re.compile(br'diff --git a/(.*) b/(.*)') |
52 tabsplitter = re.compile(br'(\t+|[^\t]+)') |
52 tabsplitter = re.compile(br'(\t+|[^\t]+)') |
53 wordsplitter = re.compile(br'(\t+| +|[a-zA-Z0-9_\x80-\xff]+|' |
53 wordsplitter = re.compile(br'(\t+| +|[a-zA-Z0-9_\x80-\xff]+|' |
54 '[^ \ta-zA-Z0-9_\x80-\xff])') |
54 b'[^ \ta-zA-Z0-9_\x80-\xff])') |
55 |
55 |
56 PatchError = error.PatchError |
56 PatchError = error.PatchError |
57 |
57 |
58 # public functions |
58 # public functions |
59 |
59 |