Regular Expression works in search but not in Parser
Posted: 19.09.2017 21:13
I am trying to detect the following Comments in a custom SynWrite lexer.
# Comment at start of line
# Comment proceeded by spaces
If I use the expression below in Search it detects both types of comments. The same expression in parser only detects the "Comment at start of line"
^\s*?\#
# Comment at start of line
# Comment proceeded by spaces
If I use the expression below in Search it detects both types of comments. The same expression in parser only detects the "Comment at start of line"
^\s*?\#