avast / yls

YARA Language Server
https://avast.github.io/yls/
MIT License
67 stars 13 forks source link

fix: Incorrect syntax on regexp end #131

Closed MatejKastak closed 10 months ago

MatejKastak commented 11 months ago

Fox example:

cuckoo.sync.mutex(/test\\/)

The last / was not detected as a end of string, because we only look at the preceding character is not escaping the end of regexp. But what if there is a another escape.