projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4eb400
)
Properly detect section titles with two-digit minor numbers
author
Fabian Keil
<fk@fabiankeil.de>
Tue, 5 Feb 2013 14:04:50 +0000
(14:04 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Tue, 5 Feb 2013 14:04:50 +0000
(14:04 +0000)
Previously they weren't underlined and the section number
wasn't normalized.
Reported by Ralf Jungblut.
utils/prepare-configfile.pl
patch
|
blob
|
history
diff --git
a/utils/prepare-configfile.pl
b/utils/prepare-configfile.pl
index
4cb8d5a
..
f5c9fe2
100755
(executable)
--- a/
utils/prepare-configfile.pl
+++ b/
utils/prepare-configfile.pl
@@
-31,7
+31,7
@@
sub main() {
s/^1\. \@\@TITLE\@\@/ /i;
- if (m/^(\d
\.)(\d\.)(\d\.)?
\s/) {
+ if (m/^(\d
*\.){1,3}
\s/) {
# Remove the first digit as it's the
# config file section in the User Manual.
s/^(\d\.)//;