dockyard/pg_array_parser — pull request #1 by jeremyevans (2012-06-25 18:17:04+00:00)
Title: Fix handling of escaped backslashes, Refactor the parser

The parser currently does not handle escaped backslashes in quoted input. I have a commit that adds some specs for the desired behavior, then a series of commits that refactor the parser so that it not only handles escaped backslashes correctly, but should also be simpler and faster. I used a series of commits as some of the changes I made are style issues that you may disagree with, so feel free to cherry-pick only the commits you want, or squash merge this into a single commit if you want everything.