aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdwim2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwim b/dwim
index b5fc6b0..4ee2cf8 100755
--- a/dwim
+++ b/dwim
@@ -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{^/};