X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=configpm;h=a22f9a2404052f2895e8300e4cd55ecc0f2a04ca;hb=24b5d5ccc3bc7535f387e48d7e29656751ae98a5;hp=9f1a2e11cd876742ee8ffcfc4e58748293a4c455;hpb=30500b05e0cd7c98f3f3ddb34d343729aab7b8f7;p=p5sagit%2Fp5-mst-13.2.git diff --git a/configpm b/configpm index 9f1a2e1..a22f9a2 100755 --- a/configpm +++ b/configpm @@ -420,20 +420,25 @@ $text = 0; $/ = ''; sub process { - s/\A(\w*)\s+\(([\w.]+)\):\s*\n(\t?)/=item C<$1>\n\nFrom F<$2>:\n\n/m; - my $c = substr $1, 0, 1; - unless ($seen{$c}++) { - print CONFIG <\n\nFrom F<$2>:\n\n/m) { + my $c = substr $1, 0, 1; + unless ($seen{$c}++) { + print CONFIG < paragraphs @@ -446,8 +451,14 @@ EOF (?! e \. g \. ) # Not e.g. (?! \. \. \. ) # Not ... (?! \d ) # Not 5.004 - ( [\w./]* [./] [\w./]* ) # Require . or / inside - (?)xg; # /usr/local