From: Moritz Bunkus Date: Tue, 14 Dec 2010 13:24:06 +0000 (+0100) Subject: Optionen non-greedy matchen, weil ansonsten HTML-Kommentar-Ende nicht richtig gematch... X-Git-Tag: release-2.6.2beta1~69^2~1^2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=61f09f2c2552f7e94eef8220d0b14ffb118633cd;p=kivitendo-erp.git Optionen non-greedy matchen, weil ansonsten HTML-Kommentar-Ende nicht richtig gematcht wird --- diff --git a/SL/Template/LaTeX.pm b/SL/Template/LaTeX.pm index 7b89aa4ab..4bfef01f7 100644 --- a/SL/Template/LaTeX.pm +++ b/SL/Template/LaTeX.pm @@ -275,7 +275,7 @@ sub _parse_config_lines { while ($i < $num_lines) { my $line = $lines->[$i]; - if ($line !~ m/^${comment_start}\s*config\s*:(.*)${comment_end}$/i) { + if ($line !~ m/^${comment_start}\s*config\s*:(.*?)${comment_end}$/i) { $i++; next; }