Skip to content

Handle backslashes in raw strings while normalizing#105

Merged
ambv merged 1 commit into
psf:masterfrom
zsol:normalize-raw
Apr 4, 2018
Merged

Handle backslashes in raw strings while normalizing#105
ambv merged 1 commit into
psf:masterfrom
zsol:normalize-raw

Conversation

@zsol

@zsol zsol commented Apr 4, 2018

Copy link
Copy Markdown
Collaborator

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 (see test cases).
Fixes #100

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 psf#100
@coveralls

coveralls commented Apr 4, 2018

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 160

  • 6 of 6 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.03%) to 90.395%

Totals Coverage Status
Change from base Build 157: 0.03%
Covered Lines: 1374
Relevant Lines: 1520

💛 - Coveralls
@ambv ambv merged commit 51b3b26 into psf:master Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants