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:
parent
407cb7bbaa
commit
1d98efe9b0
@ -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;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user