aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdwim2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwim b/dwim
index b8957fb..f1da343 100755
--- a/dwim
+++ b/dwim
@@ -32,7 +32,7 @@ for ($phrase) {
run @MAILER, "$1"
}
- if (/^(.+):(\d+)(:.*?)?$/) {
+ if (/^(.+):(\d+).*?$/) {
handle "{file}:{line} (like grep -n)";
my $p = path $1;
run @LAUNCHER, @EDITOR, "-c", ":$2", "$p"