04-17-2012, 09:14 PM
The ZX BASIC lexer uses the Regular Expression:
to match a comment line.
The ASM / END ASM sequence is a bit special (the lexer enters another state which I guess simple syntax-highlighters doesn't do).
Code:
([']|[Rr][Ee][Mm][ \t])
The ASM / END ASM sequence is a bit special (the lexer enters another state which I guess simple syntax-highlighters doesn't do).