3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-20 02:49:49 +01:00

Factoids: expand_factoid_vars(): support multi-line text

This commit is contained in:
Pragmatic Software 2020-06-12 01:37:55 -07:00
parent 407cb7bbaa
commit 1d98efe9b0

View File

@ -743,7 +743,7 @@ sub expand_factoid_vars {
my $expansions = 0; my $expansions = 0;
while ($rest =~ s/(.*?)(?<!\\)\$([\w|{])/$2/) { while ($rest =~ s/(.*?)(?<!\\)\$([\w|{])/$2/ms) {
$result .= $1; $result .= $1;