Search found 1 match

by jch
19.09.2017 21:13
Forum: Lexers
Topic: Regular Expression works in search but not in Parser
Replies: 2
Views: 2144

Regular Expression works in search but not in Parser

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*?\#