Comment on RegExpBuilder – Create regular expressions using chained methodsparentComments−philjohn11yLove it - just visualised the PCRE generated from the EBNF for the N-Triples RDF serialisation format[1] :)https://www.debuggex.com/r/Yxqws81Uif-BGBN8Important note - this is built up programmatically, it's not just a string dumped in a parser![1] http://www.w3.org/TR/n-triples/#n-triples-grammar−jgalt21211yThat is one hairy regex. Now the inverse would be even better. You modify the railroad chart and the regex updates.−philjohn11yFairly hairy, yes, but if you follow the railroad tracks, it's quite succint for what it's doing!
Comments
Love it - just visualised the PCRE generated from the EBNF for the N-Triples RDF serialisation format[1] :)
https://www.debuggex.com/r/Yxqws81Uif-BGBN8
Important note - this is built up programmatically, it's not just a string dumped in a parser!
[1] http://www.w3.org/TR/n-triples/#n-triples-grammar
That is one hairy regex. Now the inverse would be even better. You modify the railroad chart and the regex updates.
Fairly hairy, yes, but if you follow the railroad tracks, it's quite succint for what it's doing!