aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdwim2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwim b/dwim
index 429ad14..552ddf2 100755
--- a/dwim
+++ b/dwim
@@ -67,7 +67,7 @@ for ($phrase) {
run @MAN_VIEWER, $2, $1;
}
- if (/^([-_A-Za-z]+)\.([1-9])$/) {
+ if (/^([-_A-Za-z]+)\.([1-9]):?$/) {
handle 'manual.section';
my $p = path "$1.$2";
run @MAN_VIEWER, $p if -e $p;