summaryrefslogtreecommitdiff
path: root/doc/rdsrc.pl
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-11-29 17:10:04 -0800
committerH. Peter Anvin <hpa@zytor.com>2007-11-29 17:10:04 -0800
commit52b4d6d7b015555ba2e6f1b060fef5d1cfadfbbe (patch)
tree95964fb1e8da50bd34e7da68211056eb897b6926 /doc/rdsrc.pl
parent540f903928e622b4ae2837aafb08ab6cd39763aa (diff)
downloadnasm-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.pl2
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;