X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fsort_glossary.pl;h=e0bc552a645f482445d5be33b3b662cead324aa0;hb=4514ad4fb77b3c68f69133c22b9c0d3b88ff058f;hp=e57dc78e0e9fd54812727f28eda6d534ad55ec51;hpb=9086a18cb81f99fff943b36830396ac8c37c7e9f;p=git.git diff --git a/Documentation/sort_glossary.pl b/Documentation/sort_glossary.pl index e57dc78e..e0bc552a 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"