Skip to content

Conversation

@compnerd
Copy link
Member

@compnerd compnerd commented Jul 9, 2020

The regular expression engine escaped the strings differently across
python 2 and 3. Using a raw string makes this simpler to understand
and obsoletes the comment. This change also now properly allows the
replacement to occur in the same way on 2 and 3.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

The regular expression engine escaped the strings differently across
python 2 and 3.  Using a raw string makes this simpler to understand
and obsoletes the comment.  This change also now properly allows the
replacement to occur in the same way on 2 and 3.
@compnerd
Copy link
Member Author

compnerd commented Jul 9, 2020

CC: @tachoknight @drexin @drodriguez

@compnerd
Copy link
Member Author

compnerd commented Jul 9, 2020

@swift-ci please test

@compnerd compnerd merged commit 7573a64 into swiftlang:master Jul 10, 2020
@compnerd compnerd deleted the separate-issues branch July 10, 2020 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants