Be less picky about what constitutes "numeric lists" in Pod; This allows "64bit"...
authorAlex Vandiver <alexmv@mit.edu>
Wed, 22 Oct 2008 05:10:01 +0000 (01:10 -0400)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Thu, 25 Dec 2008 18:42:59 +0000 (19:42 +0100)
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;