Commit 6f69ac0
committed
feat(man): allow arbitrary lowercase ASCII post-numeric-section suffixes
The Linux man-pages project has added `2type`, `3head`, and `3type`
recently. A web search for `man3head` gives hits for lists of sections
in the wild that are so large that we don't want to enumerate and follow
all of them.
For example, https://illumos.org/man/ lists 86 different such `man[1-9]`
categories at time of writing.
Allowing arbitrary lowercase ASCII after a numeric suffix will result in
some false positives, but seems the only maintainable option.
Closes #7781 parent 9770123 commit 6f69ac0
File tree
3 files changed
+3
-3
lines changed- completions
- test
- fixtures/man/man3
- t
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
0 commit comments