mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-11 12:32:37 +01:00
Factoids: expand_factoid_vars(): support multi-line text
This commit is contained in:
parent
407cb7bbaa
commit
1d98efe9b0
@ -743,7 +743,7 @@ sub expand_factoid_vars {
|
||||
my $expansions = 0;
|
||||
|
||||
|
||||
while ($rest =~ s/(.*?)(?<!\\)\$([\w|{])/$2/) {
|
||||
while ($rest =~ s/(.*?)(?<!\\)\$([\w|{])/$2/ms) {
|
||||
$result .= $1;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user