X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=Documentation%2Fsort_glossary.pl;h=e0bc552a645f482445d5be33b3b662cead324aa0;hb=67d4160712ef07bc7a5bc6790f166ba39d45a82a;hp=e57dc78e0e9fd54812727f28eda6d534ad55ec51;hpb=1a17ee22a2fbd85a893ab36fd53168d03554c2dd;p=git.git diff --git a/Documentation/sort_glossary.pl b/Documentation/sort_glossary.pl index e57dc78e0..e0bc552a6 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"