mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-28 23:09:39 +01:00
pbot-vm: fix whitespace issue with "string"[n]
This commit is contained in:
parent
8381fc7ad2
commit
4535881898
@ -82,7 +82,7 @@ sub split_line ($line, %opts) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (defined $quote) {
|
if (defined $quote) {
|
||||||
if ($ch eq $quote and (not defined $next_ch or $next_ch =~ /[\s,:;})\].+=]/)) {
|
if ($ch eq $quote and (not defined $next_ch or $next_ch =~ /[\s,:;})\[\].+=]/)) {
|
||||||
# closing quote
|
# closing quote
|
||||||
$token .= $ch unless $opts{strip_quotes};
|
$token .= $ch unless $opts{strip_quotes};
|
||||||
push @args, $token;
|
push @args, $token;
|
||||||
|
Loading…
Reference in New Issue
Block a user