Changeset 81
- Timestamp:
- 1998-12-18T13:40:41+13:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/mgbuilder.pm
r69 r81 203 203 # next comes a processed version of the subcollection if there is one. 204 204 # the processed version contains the first character and the next 205 # consonant if there's only one field, other 205 # consonant if there's only one field, otherwise the first character 206 206 # of the first two fields 207 207 if (defined ($subcollection) && $subcollection =~ /\w/) { … … 212 212 $dirname .= join("", @fields); 213 213 } else { 214 $subcollection =~ s/^(.).*?([bcdfghjklmnpqrstvwxyz] ).*$/$1$2/i;214 $subcollection =~ s/^(.).*?([bcdfghjklmnpqrstvwxyz]?).*$/$1$2/i; 215 215 $dirname .= $subcollection; 216 216 }
Note:
See TracChangeset
for help on using the changeset viewer.