Compiler/Verifying syntax: Difference between revisions
m
→{{header|Julia}}
Line 139:
end
s = strip(s)
# Julia allows expressions like 2 + + + 3 but these are
if occursin(r"(and|or|[\=\<\+\-\*\/])\s*(and|or|[\=\<\+\-\*\/])", s) ||
occursin(r"(^(and|^or|^[\=\<\+\-\*\/]))|((and|or|[\=\<\+\-\*\/])$)", s)
|