summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Vandiver <alexmv@mit.edu>2008-10-22 01:10:01 -0400
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-12-25 19:42:59 +0100
commit4df4f5d09733f541f761a74ad18e82d676ab0046 (patch)
tree69e6890c05790d4c9a1d509c8ff91c7947cdff36
parentcaa547d451d5acc0894dc1770ed715cdaab20381 (diff)
downloadperl-4df4f5d09733f541f761a74ad18e82d676ab0046.tar.gz
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.
-rw-r--r--lib/Pod/Checker.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Pod/Checker.pm b/lib/Pod/Checker.pm
index fb877e2a2d..5c301b6de6 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;