4 ms·
> What? Why would you parse a DSL with regex? Let's say I want to process a nginx or apache config file programmatically to change a flag. Am I going to parse
by kanox 6y ago
> What? Why would you parse a DSL with regex?
Let's say I want to process a nginx or apache config file programmatically to change a flag. Am I going to parse the full syntax? No, I'm going to hack something together with regexps.