From 46e20d01067ed8927f17770fccd4927d675d394a Mon Sep 17 00:00:00 2001 From: Ryan Voots Date: Fri, 12 Mar 2010 16:40:46 -0500 Subject: [PATCH] removing the -1, for testing --- plugins/factoids.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/factoids.pm b/plugins/factoids.pm index 978dfa5..8527899 100644 --- a/plugins/factoids.pm +++ b/plugins/factoids.pm @@ -345,7 +345,7 @@ sub _fact_substitute $realsubst =~ s/\$(\d+)/$caps[$1-1]/eg; substr $pred, $matchstart, $matchend-$matchstart, $realsubst; - pos $pred = $matchstart+length($realsubst)-1; #set the new position, might have an off by one? + pos $pred = $matchstart+length($realsubst); #set the new position, might have an off by one? } return $pred;