X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fsort_glossary.pl;h=e0bc552a645f482445d5be33b3b662cead324aa0;hb=f0338bbd820f45df51663342827e5aefc4550bf7;hp=babbea04158404e0b38d332f4fd47e91482d3c60;hpb=9d34c29db39bdb5c2443475dd6a24cfc5c2c9e37;p=git.git diff --git a/Documentation/sort_glossary.pl b/Documentation/sort_glossary.pl index babbea04..e0bc552a 100644 --- a/Documentation/sort_glossary.pl +++ b/Documentation/sort_glossary.pl @@ -42,14 +42,13 @@ sub no_spaces ($) { print 'GIT Glossary ============ -Aug 2005 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"