Closed baelter closed 7 years ago
Hi Anders,
I do not know exactly what you mean. JSON does not know regexes. Do you think of syntax highlight descriptions? If so, please take a look at another package of mine, which you can use for writing coffeescript or javascript and generate the syntax theme from it: https://www.npmjs.com/package/atom-syntax-tools
Best regards, Kiwi
Am 22.04.2016 um 20:26 schrieb Anders Bälter:
Would be nice if strings where unescaped and checked for regex type.
e.g. regex in json string.
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/klorenz/atom-regex-railroad-diagrams/issues/70
{
"var" : "^.*\\d+§"
}
escaped regex in strings like this.
I think there would be a lot of cases where a regex in a string would be very hard to tell apart from a regular string, and vice versa.
A better solution may be the ability to invoke the diagram manually (via a keyboard shortcut or menu command) in which case it could evaluate a string literal as regex.
Agree
Would be nice if strings where unescaped and checked for regex type.
e.g. regex in json string.