This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Be less picky about what constitutes "numeric lists" in Pod; This allows "64bit"...
[perl5.git] / lib / Pod / Checker.pm
index fb877e2..5c301b6 100644 (file)
@@ -867,7 +867,7 @@ sub command {
                   $self->{_list_item_contents} = $1 ? 1 : 0;
                   $arg = $1;
                 }
-                elsif($arg =~ /^\d+\.?\s*(\S*)/) {
+                elsif($arg =~ /^\d+\.?\s+(\S*)/) {
                   $type = 'number';
                   $self->{_list_item_contents} = $1 ? 1 : 0;
                   $arg = $1;