]> git.madduck.net Git - etc/vim.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Handle backslashes in raw strings while normalizing (#105)
authorZsolt Dollenstein <zsol.zsol@gmail.com>
Wed, 4 Apr 2018 20:20:46 +0000 (21:20 +0100)
committerŁukasz Langa <lukasz@langa.pl>
Wed, 4 Apr 2018 20:20:46 +0000 (13:20 -0700)
commit51b3b2624d4b1e4608eb9addd7d292cc5174a047
tree8e579f0c00a285bba25db891ef14827647b92a16
parentf8e9544c930a1469bee8b3f131687e2cae52e59b
Handle backslashes in raw strings while normalizing (#105)

In raw strings, a single backslash means a literal backslash. It is also used to escape quotes if it precedes them. This means it is impossible to change the quote type for strings that contain an unescaped version of the other quote type.
Fixes #100
black.py
tests/string_quotes.py