From a73750d0514125db33f88e2f5d2c92af7639421e Mon Sep 17 00:00:00 2001 From: Angel Ortega Date: Thu, 27 Dec 2007 13:21:50 +0100 Subject: [PATCH] Fixed the key/params regex, that failed when a newline was found. --- Artemus.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Artemus.pm b/Artemus.pm index 8613d8d..3314b62 100644 --- a/Artemus.pm +++ b/Artemus.pm @@ -578,7 +578,7 @@ sub _process_do my ($found) = $1; # take key and params - my ($key, $params) = ($found =~ /^([-\\\w_]+)\|?(.*)$/); + my ($key, $params) = ($found =~ /^([-\\\w_]+)\|?(.*)$/s); # replace escaped chars $params =~ s/\\{/{/g; -- 2.11.4.GIT