mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-11 12:32:37 +01:00
Unescape escaped command substitutions
This commit is contained in:
parent
d902edd122
commit
0d0c12e798
@ -264,6 +264,8 @@ sub interpret {
|
||||
return $result;
|
||||
}
|
||||
|
||||
# unescape any escaped substituted commands
|
||||
$arguments =~ s/\\&\{/&{/g if defined $arguments;
|
||||
|
||||
# parse out a pipe unless escaped
|
||||
if (defined $arguments && $arguments =~ m/(?<!\\)\|\s*\{\s*[^}]+\}\s*$/) {
|
||||
|
Loading…
Reference in New Issue
Block a user