Skip to content

Commit

Permalink
Item13897: Fixed SMELL comment regex.
Browse files Browse the repository at this point in the history
  • Loading branch information
vrurg committed Oct 18, 2016
1 parent c77e8e4 commit e3423f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/IncludeHandlers/doc.pm
Expand Up @@ -96,7 +96,7 @@ sub INCLUDE {
$publicOnly # Don't even parse FIXME comments if public only mode.
? ()
: ( _FixmeComment =>
'\n\h*?(?<commentLine>#\h*?(?<commentType>SMELL|TODO|FIXME)\h+?)(?=\n)'
'\n\h*?(?<commentLine>#\h*?(?<commentType>SMELL|TODO|FIXME)\b\h*(?<commentText>.+?))(?=\n)'
)
),
},
Expand Down

0 comments on commit e3423f4

Please sign in to comment.