X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fsort_glossary.pl;h=05dc7b2c7b3653c2b70850e881263e9c5236e153;hb=240c77c7146a58834cf7e425bde956b646c69024;hp=e57dc78e0e9fd54812727f28eda6d534ad55ec51;hpb=3d990f110c2e5b8df83f6ab3ef83497f43c7fd47;p=git.git diff --git a/Documentation/sort_glossary.pl b/Documentation/sort_glossary.pl index e57dc78e0..05dc7b2c7 100644 --- a/Documentation/sort_glossary.pl +++ b/Documentation/sort_glossary.pl @@ -48,7 +48,7 @@ This list is sorted alphabetically: '; @keys=sort {uc($a) cmp uc($b)} keys %terms; -$pattern='(\b'.join('\b|\b',reverse @keys).'\b)'; +$pattern='(\b(?>";/eg; print '[[ref_'.no_spaces($key).']]'.$key."::\n"