mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-30 18:26:53 +00:00
Merge pull request #296 from pre-commit/fix_escape_sequences
Fix invalid escape sequences
This commit is contained in:
commit
1fc25d9778
1 changed files with 1 additions and 1 deletions
|
|
@ -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+',
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue