From e3423f4a87b1651b8b576ed0d54748a93d575955 Mon Sep 17 00:00:00 2001 From: Vadim Belman Date: Tue, 18 Oct 2016 11:48:40 -0400 Subject: [PATCH] Item13897: Fixed SMELL comment regex. --- core/lib/Foswiki/IncludeHandlers/doc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Foswiki/IncludeHandlers/doc.pm b/core/lib/Foswiki/IncludeHandlers/doc.pm index 79eae735ab..082846cac8 100644 --- a/core/lib/Foswiki/IncludeHandlers/doc.pm +++ b/core/lib/Foswiki/IncludeHandlers/doc.pm @@ -96,7 +96,7 @@ sub INCLUDE { $publicOnly # Don't even parse FIXME comments if public only mode. ? () : ( _FixmeComment => -'\n\h*?(?#\h*?(?SMELL|TODO|FIXME)\h+?)(?=\n)' +'\n\h*?(?#\h*?(?SMELL|TODO|FIXME)\b\h*(?.+?))(?=\n)' ) ), },