X-Git-Url: http://git.shiar.net/perl/list-index.git/blobdiff_plain/f5f900c433ee5247b0466d0e3efcd3f66ff664d9..0433a4eb785409f46a2d61e668fda84bd87c3148:/lib/List/Index.pm diff --git a/lib/List/Index.pm b/lib/List/Index.pm index 9c86bc3..7214ced 100644 --- a/lib/List/Index.pm +++ b/lib/List/Index.pm @@ -90,7 +90,7 @@ sub rangematch { if (length $s1 > $i) { my $c1 = substr $s1, $i, 1; if ($s1 =~ /^\Q$prefix/) { - next if $c1 eq $char; + next if $c1 le $char; } } push @allow, $prefix."(?![$char-$last])"