X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=utils%2Fprepare-configfile.pl;h=f5c9fe2ba1fb9c2fd55ad95ca38ff580b22f77c0;hp=4cb8d5af8f29cd41c05c9931b4e02e978b800106;hb=87085601ca0fa352ecdebbaa37a54400c43ec8c1;hpb=3c1f116b24ec7d180e28f4a4ab1c72d75d8f95f4 diff --git a/utils/prepare-configfile.pl b/utils/prepare-configfile.pl index 4cb8d5af..f5c9fe2b 100755 --- 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\.)//;