Changeset 18902 for gsdl/trunk/perllib
- Timestamp:
- 2009-04-07T16:08:52+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/sorttools.pm
r15894 r18902 114 114 $$stringref = lc($$stringref); 115 115 $$stringref =~ s/&[^\;]+\;//g; # html entities 116 $$stringref =~ s/[^[:alpha:]]//g;117 116 $$stringref =~ s/^\s*(les?|la|une?)\b//; # articles 117 $$stringref =~ s/[^[:alnum:]]//g; 118 118 $$stringref =~ s/\s+/ /g; 119 119 $$stringref =~ s/^\s+//; … … 126 126 $$stringref = lc($$stringref); 127 127 $$stringref =~ s/&[^\;]+\;//g; # html entities 128 $$stringref =~ s/[^[:alpha:]]//g;129 128 $$stringref =~ s/^\s*(la|el)\b//; # articles 129 $$stringref =~ s/[^[:alnum:]]//g; 130 130 $$stringref =~ s/\s+/ /g; 131 131 $$stringref =~ s/^\s+//;
Note:
See TracChangeset
for help on using the changeset viewer.