|
|
|
|
|
by mjhoy
4640 days ago
|
|
> How else would you do it? Taking your question generally, I was curious to see what it might look like as a parser, since I find that regex a little hard to read. Here's an implementation with Haskell's parsec: https://gist.github.com/mjhoy/6751909 |
|