klorenz / atom-regex-railroad-diagrams

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

Escaped characters include backslash when in square brackets #71

Closed sgtpepper43 closed 5 years ago

sgtpepper43 commented 8 years ago
/[\\\[\]]/

shows up as
image

Instead of like this \, [ or ]

Normally this isn't really a problem because you don't have to escape characters in a character class, except if you want to include square brackets or backslashes.

sgtpepper43 commented 5 years ago

It's been two and a half years, I'm closing this so I don't see it in my issues list anymore