Commit Graph

3 Commits

Author SHA1 Message Date
Taylor Blau
a35f0759de tools: handle empty pairs of balanced quotes
If a quote is empty on its own, i.e., '', match an empty string. Otherwise, if
the quote is empty and inside another set of balanced quotes, treat it as-is,
i.e., "foo """ matches []string{"foo \"\""}.
2017-02-21 11:45:52 -07:00
Taylor Blau
7ec512c72f tools: omit outer quotes quotes in matches 2017-02-21 11:32:28 -07:00
Taylor Blau
9a73171f21 tools: implement tools.QuotedFields 2017-02-18 15:46:11 -07:00