From 4b6a0edcd181006967bf436e051b153131d4d994 Mon Sep 17 00:00:00 2001 From: Marc Schumann Date: Sun, 27 Mar 2011 20:28:44 +0200 Subject: Bug 645118: Allow "=" as pre_chomp and post_chomp modifier in templates. r/a=mkanat --- t/008filter.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/008filter.t') diff --git a/t/008filter.t b/t/008filter.t index c0ee3b131..a2f96ae3e 100644 --- a/t/008filter.t +++ b/t/008filter.t @@ -110,7 +110,7 @@ foreach my $path (@Support::Templates::include_paths) { # /g means we execute this loop for every match # /s means we ignore linefeeds in the regexp matches - while ($slurp =~ /\[%(?:-|\+|~)?(.*?)(?:-|\+|~)?%\]/gs) { + while ($slurp =~ /\[%(?:-|\+|~|=)?(.*?)(?:-|\+|~|=)?%\]/gs) { my $directive = $1; my @lineno = ($` =~ m/\n/gs); -- cgit v1.2.3-24-g4f1b