AzureMarker / intellij-lalrpop

Jetbrains plugin for the LALRPOP parser-generator
MIT License
16 stars 2 forks source link

Property escape sequences false positive #52

Closed ccleve closed 2 years ago

ccleve commented 2 years ago
grammar;
pub Term = { <Word> };
Word: String = <w:r"\p{L}"> => w;

There's a red squiggle under \p{L]} that says "Property escape sequences are not supported in this regex dialect", but the code compiles and runs fine.

AzureMarker commented 2 years ago

Looks like the plugin is using a different regex dialect than what LALRPOP accepts.

AzureMarker commented 2 years ago

The fix is releasing with 0.2.9