diff options
-rwxr-xr-x | dwim | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -98,7 +98,7 @@ for ($phrase) { fail 'header file not found'; } - if (/(?:\+\+\+|---) (\S+) .*?$@@ -(\d+)/ms) { + if (/(?:\+\+\+|---) (\S+) .*$@@ -(\d+)/ms) { handle 'diff header'; my ($p, $l) = ($1, $2); $p = path($p)."/$p" if not $p =~ m{^/}; |