Merge pull request #296 from pre-commit/fix_escape_sequences

Fix invalid escape sequences
This commit is contained in:
Anthony Sottile 2018-06-18 07:34:31 -07:00 committed by GitHub
commit 1fc25d9778
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ import sys
GITHUB_NON_PERMALINK = re.compile(
b'https://github.com/[^/ ]+/[^/ ]+/blob/master/[^# ]+#L\d+',
br'https://github.com/[^/ ]+/[^/ ]+/blob/master/[^# ]+#L\d+',
)