Changeset 903 in openpam


Ignore:
Timestamp:
Jan 17, 2017, 3:16:40 PM (4 years ago)
Author:
Dag-Erling Smørgrav
Message:

r822 claimed to merge r819, r820 and r821 but only merged the first one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/nooath/misc/history2wiki.pl

    r895 r903  
    3434use warnings;
    3535
    36 my $CVEURL = "http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-";
     36my $CVEURL = "http://web.nvd.nist.gov/view/vuln/detail?vulnId=";
    3737
    3838while (<>) {
     
    4646        $changes =~ s/^ - ([A-Z]+): / - '''$1''' /gm;
    4747        $changes =~ s/([\w.-]+\(\d*\))/`$1`/gs;
    48         $changes =~ s/([^'])\b([A-Z_]{2,})\b([^'])/$1`$2`$3/gs;
    49         $changes =~ s/`CVE`-(\d{4}-\d+)/[$CVEURL$1 CVE-$1]/gs;
     48        $changes =~ s/([^'`])\b([A-Z_]{4,})\b([^'`])/$1`$2`$3/gs;
     49        $changes =~ s/(CVE-\d{4}-\d+)/[$CVEURL$1 $1]/gs;
    5050        $changes =~ s/([.!?])\n +(\w)/$1  $2/gs;
    5151        $changes =~ s/(\S)\n +(\S)/$1 $2/gs;
Note: See TracChangeset for help on using the changeset viewer.