forked from VoxeLibre/VoxeLibre
attemp to fix pattern for quoted text
This commit is contained in:
parent
e0fcfc1888
commit
25495d2dcd
|
@ -52,7 +52,7 @@ mcl_commands.types = {
|
|||
return S("Word is invalid!")
|
||||
end
|
||||
end},
|
||||
quotestring = {[["([^ ]+)"]],
|
||||
quotestring = {'["]+(.+)["]+',
|
||||
function(res, pointer)
|
||||
if res[pointer] == tostring(res[pointer]) then
|
||||
return nil, string.sub(tostring(res[pointer]), 2, #res[pointer]-1), pointer+1
|
||||
|
|
Loading…
Reference in New Issue