From: Mauritz Jeanson Date: Thu, 23 Oct 2008 20:25:20 +0000 (+0000) Subject: Do a proper match. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9bf396c3ac1de06d4b486aad2170736e37d8b712;p=docbook-dsssl Do a proper match. --- diff --git a/releasetools/xslns-build b/releasetools/xslns-build index 80d209544..369037c98 100755 --- a/releasetools/xslns-build +++ b/releasetools/xslns-build @@ -273,7 +273,7 @@ sub nsfilter { } # Add d: prefix to literal tocentry in maketoc.xsl - if ($infile =~ "maketoc") { + if ($infile =~ /maketoc/) { s/(<\/?)(tocentry)/$1d:$2/sg; }