From 5fe2dacdd82ae14639d030e0bacfce02f0223217 Mon Sep 17 00:00:00 2001 From: George Clark Date: Mon, 31 Aug 2015 22:28:05 -0400 Subject: [PATCH] Item13657: Fix regexes, and prepare new release --- data/System/RevCommentPlugin.txt | 3 ++- lib/Foswiki/Plugins/RevCommentPlugin.pm | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/data/System/RevCommentPlugin.txt b/data/System/RevCommentPlugin.txt index 5b03fed..9d87011 100644 --- a/data/System/RevCommentPlugin.txt +++ b/data/System/RevCommentPlugin.txt @@ -99,7 +99,8 @@ contained in-line in the =oopshistory= template. | Copyright ©: | 2006, !JChristophFuchs and !Steffen Poulsen; 2008-2015 Kenneth Lavrsen and Foswiki Contributors | | License: | GPL ([[http://www.gnu.org/copyleft/gpl.html][GNU General Public License]]) | | Change History: | | -| 15 Aug 2015 (2.0) | Foswikitask:Item11068: RevCommentplugin conflicts with CommentPlugin
\ +| 01 Sep 2015 (2.01) | Foswikitask:Item13657: Regex issues on perl 5.22 | +| 15 Aug 2015 (2.00) | Foswikitask:Item11068: RevCommentplugin conflicts with CommentPlugin
\ Foswikitask:Item13619: Add compatibility for Foswiki 2.0
\ Foswikitask:Item12880: Preserve rev-comment input across preview | | 11 Nov 2011 | Item11249 - added registerMETA | diff --git a/lib/Foswiki/Plugins/RevCommentPlugin.pm b/lib/Foswiki/Plugins/RevCommentPlugin.pm index 7a67800..29e45bf 100755 --- a/lib/Foswiki/Plugins/RevCommentPlugin.pm +++ b/lib/Foswiki/Plugins/RevCommentPlugin.pm @@ -33,8 +33,8 @@ use vars qw( $commentFromUpload $attachmentComments $cachedCommentWeb $cachedCommentTopic $minorMark ); -our $VERSION = '2.00'; -our $RELEASE = '29 Aug 2015'; +our $VERSION = '2.01'; +our $RELEASE = '01 Sep 2015'; our $SHORTDESCRIPTION = 'Allows a short summary of changes to be entered for a new revision.'; @@ -94,7 +94,7 @@ sub commonTagsHandler { # Called by Foswiki::handleCommonTags, after %INCLUDE:"..."% $_[0] =~ s/%REVCOMMENT%/&handleRevComment()/ge; - $_[0] =~ s/%REVCOMMENT{(.*?)}%/&handleRevComment($1)/ge; + $_[0] =~ s/%REVCOMMENT\{(.*?)\}%/&handleRevComment($1)/ge; $_[0] =~ s/%REVCOMMENT\[(.*?)\]%/&handleRevComment($1)/ge; }