From: Alex Vandiver Date: Wed, 22 Oct 2008 05:10:01 +0000 (-0400) Subject: Be less picky about what constitutes "numeric lists" in Pod; This allows "64bit"... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4df4f5d09733f541f761a74ad18e82d676ab0046;p=p5sagit%2Fp5-mst-13.2.git Be less picky about what constitutes "numeric lists" in Pod; This allows "64bit" to not trigger the "numeric" match in a description list, for instance. --- diff --git a/lib/Pod/Checker.pm b/lib/Pod/Checker.pm index fb877e2..5c301b6 100644 --- a/lib/Pod/Checker.pm +++ b/lib/Pod/Checker.pm @@ -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;