klorenz / atom-regex-railroad-diagrams

display regex as railroad diagram, if cursor moves to it
MIT License
250 stars 31 forks source link

Doesn't work with Rust #63

Open frewsxcv opened 8 years ago

frewsxcv commented 8 years ago

Awesome plugin, this is great!

I occasionally work with Rust, but it doesn't seem to generate diagrams when working with regexes with Rust.

https://doc.rust-lang.org/regex/regex/index.html

https://github.com/rust-lang-nursery/regex

How difficult is it to add support for other languages? I could look into fixing this possibly

klorenz commented 8 years ago

It is not too difficult, because it is based on syntax highlighting, but there may be some tweaks needed.