diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-11-29 17:10:04 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-11-29 17:10:04 -0800 |
commit | 52b4d6d7b015555ba2e6f1b060fef5d1cfadfbbe (patch) | |
tree | 95964fb1e8da50bd34e7da68211056eb897b6926 /doc/rdsrc.pl | |
parent | 540f903928e622b4ae2837aafb08ab6cd39763aa (diff) | |
download | nasm-52b4d6d7b015555ba2e6f1b060fef5d1cfadfbbe.tar.gz nasm-52b4d6d7b015555ba2e6f1b060fef5d1cfadfbbe.tar.bz2 nasm-52b4d6d7b015555ba2e6f1b060fef5d1cfadfbbe.zip |
Allow numbers to be sorted separately from letters
Allow numbers to be sorted separately from letters.
Diffstat (limited to 'doc/rdsrc.pl')
-rw-r--r-- | doc/rdsrc.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/rdsrc.pl b/doc/rdsrc.pl index 1bf397e..4965172 100644 --- a/doc/rdsrc.pl +++ b/doc/rdsrc.pl @@ -401,7 +401,7 @@ sub indexsort { } map { # transform array into list of 3-element lists my $ientry = $idxmap{$_}; my $a = substr($$ientry[0],2); - $a =~ tr/A-Za-z//cd; + $a =~ tr/A-Za-z0-9//cd; [$_, uc($a), substr($$ientry[0],0,2)] } keys %idxmap; |