- Updated find pattern
This commit is contained in:
parent
b756c08f2e
commit
8eba6d450c
|
@ -99,7 +99,7 @@ function visualizer.flush_line(str, nested)
|
||||||
|
|
||||||
--state = buffers.changestate(1, state)
|
--state = buffers.changestate(1, state)
|
||||||
for c in string.utfcharacters(str) do
|
for c in string.utfcharacters(str) do
|
||||||
if string.find(c, "^[%a%_]$") then
|
if string.find(c, "^[%a_]$") then
|
||||||
-- char belongs to identifier
|
-- char belongs to identifier
|
||||||
if word then
|
if word then
|
||||||
word = word .. c
|
word = word .. c
|
||||||
|
@ -140,7 +140,7 @@ function visualizer.flush_line(str, nested)
|
||||||
end
|
end
|
||||||
flush_pas_word(word)
|
flush_pas_word(word)
|
||||||
word = nil
|
word = nil
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
local code, comment = string.match(str,"^(.-)%-%-%[%[(.*)$")
|
local code, comment = string.match(str,"^(.-)%-%-%[%[(.*)$")
|
||||||
if comment then
|
if comment then
|
||||||
|
|
|
@ -24,7 +24,9 @@ end;
|
||||||
|
|
||||||
\startPAS
|
\startPAS
|
||||||
My_Variable := _Variable;
|
My_Variable := _Variable;
|
||||||
|
aaa asm for end For END
|
||||||
|
aaa aSM foR eNd For END
|
||||||
45My_Variable := _Variable45;
|
45My_Variable := _Variable45;
|
||||||
&for
|
&for asm blub
|
||||||
\stopPAS
|
\stopPAS
|
||||||
\stoptext
|
\stoptext
|
Loading…
Reference in New Issue