Skip to content

Commit dab260e

Browse files
authored
Merge pull request #91 from rraval/patch-1
Raw strings for RE_BINARY_DIFF
2 parents 68e0fa5 + 976066a commit dab260e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

unidiff/constants.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464

6565
RE_BINARY_DIFF = re.compile(
6666
r'^Binary files? '
67-
'(?P<source_filename>[^\t]+?)(?:\t(?P<source_timestamp>[\s0-9:\+-]+))?'
68-
'(?: and (?P<target_filename>[^\t]+?)(?:\t(?P<target_timestamp>[\s0-9:\+-]+))?)? (differ|has changed)')
67+
r'(?P<source_filename>[^\t]+?)(?:\t(?P<source_timestamp>[\s0-9:\+-]+))?'
68+
r'(?: and (?P<target_filename>[^\t]+?)(?:\t(?P<target_timestamp>[\s0-9:\+-]+))?)? (differ|has changed)')
6969

7070
DEFAULT_ENCODING = 'UTF-8'
7171

0 commit comments

Comments
 (0)