From 367b9a540f7ea8d8f93ba67cbc710a7b596013e4 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 1 Oct 2008 21:58:52 +0200 Subject: [PATCH] The previous fix was wrong. --- UCW/Temple.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UCW/Temple.pm b/UCW/Temple.pm index d3f2cc4..32526d7 100644 --- a/UCW/Temple.pm +++ b/UCW/Temple.pm @@ -95,7 +95,7 @@ sub parse_string($) { } elsif ($t =~ /\G\@\[/cgs) { my $x = get_nested(\$t, '\[', '\]'); $x =~ s/^\[//; - $x =~ s/\$\]//; + $x =~ s/\]$//; eval_if_ok($x); } elsif ($t =~ /\G\@(\w+)\(/cgs) { my $func = $1; -- 2.39.5