mikkel-ol/vsc-er-syntax-highlighting

Support for BurntSushi/erd relationship syntax

stijnherreman opened this issue · 1 comments

https://github.com/BurntSushi/erd uses ? instead of 0 for zero-or-one, but the current relationship regex does not recognise that syntax. Would you mind changing it from ".*[10\\*\\+]--[10\\*\\+]\\s*\\w+" to ".*[10\\*\\+\\?]--[10\\*\\+\\?]\\s*\\w+"?

Some context: https://github.com/kaishuu0123/erd-go is based on https://github.com/BurntSushi/erd and https://github.com/unok/erdm.

I updated to version 0.4.0 with support for all cardinalities.

Thank you for your feedback.