Beaglefoot / tree-sitter-awk

GNU AWK grammar for tree-sitter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWK IDE can't handle this pattern: `/#/`

Huang-Libo opened this issue · comments

If the pattern contains a single # symbol, AWK IDE complains of syntax error:

image

However, the syntax is correct, it works well in the terminal:

image

I think AWK IDE is treating # as a comment symbol, which is incorrect. The # in the pattern should be treated as a normal character of the regex.

I can replicate. This is a bug in parser.