diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-29 19:06:32 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-29 19:06:32 +0200 |
commit | f004ab49d0682c83f8a0a6323a29aa81a143b3d9 (patch) | |
tree | 04ba83590bd1699eb6ba4770ca07e39e0e0c10f5 | |
parent | 15400ceb3d746eb90d47c2ca82e48a9a0264ccfd (diff) | |
download | dwim-f004ab49d0682c83f8a0a6323a29aa81a143b3d9.tar.gz |
Handle optional colon after manual.section
-rwxr-xr-x | dwim | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |