TypeFox / yang-lsp

A Language Server for YANG
http://www.yang-central.org
Apache License 2.0
51 stars 13 forks source link

LSP regex handling inconsistent with YANG RFC? #239

Open esmasth opened 4 months ago

esmasth commented 4 months ago

A YANG pattern "[a-zA-Z0-9!$%\\^()\\[\\]_\\-~{}.+]*" is flagged as type-error. As a second opinion CESNET/libyang yangre tool as well as mbj4668/pyang were used to check whether the regex is consistent, and it was found to be acceptable. Possibly need adjustment to regex handling in yang-lsp.