Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

DeprecationWarning: invalid escape sequences #18985

Closed
jayvdb opened this issue Feb 26, 2020 · 0 comments
Closed

DeprecationWarning: invalid escape sequences #18985

jayvdb opened this issue Feb 26, 2020 · 0 comments

Comments

@jayvdb
Copy link
Contributor

jayvdb commented Feb 26, 2020

Type: code issue

C:\projects\https-everywhere-py\tests\..\..\https-everywhere\test\rules\src\https_everywhere_checker\rules.py:327
  C:\projects\https-everywhere-py\tests\..\..\https-everywhere\test\rules\src\https_everywhere_checker\rules.py:327: DeprecationWarning: invalid escape sequence \.
    pattern = target.replace('.', '\.')  # .replace('*', '.+')
C:\projects\https-everywhere-py\tests\..\..\https-everywhere\test\rules\src\https_everywhere_checker\rules.py:335
  C:\projects\https-everywhere-py\tests\..\..\https-everywhere\test\rules\src\https_everywhere_checker\rules.py:335: DeprecationWarning: invalid escape sequence \.
    pattern = pattern.replace('*', '[^\.]+')
C:\projects\https-everywhere-py\tests\..\..\https-everywhere\test\rules\src\https_everywhere_checker\rules.py:338
  C:\projects\https-everywhere-py\tests\..\..\https-everywhere\test\rules\src\https_everywhere_checker\rules.py:338: DeprecationWarning: invalid escape sequence \.
    pattern = pattern.replace('*', '[^\.]+')
C:\projects\https-everywhere-py\tests\..\..\https-everywhere\test\rules\src\https_everywhere_checker\rules.py:359
  C:\projects\https-everywhere-py\tests\..\..\https-everywhere\test\rules\src\https_everywhere_checker\rules.py:359: DeprecationWarning: invalid escape sequence \(
    len(regex.findall("\(\?:", rule.fromPattern))
C:\projects\https-everywhere-py\tests\..\..\https-everywhere\test\rules\src\https_everywhere_checker\rules.py:361
  C:\projects\https-everywhere-py\tests\..\..\https-everywhere\test\rules\src\https_everywhere_checker\rules.py:361: DeprecationWarning: invalid escape sequence \(
    len(regex.findall("\(\?!", rule.fromPattern))
C:\projects\https-everywhere-py\tests\..\..\https-everywhere\test\rules\src\https_everywhere_checker\rules.py:363
  C:\projects\https-everywhere-py\tests\..\..\https-everywhere\test\rules\src\https_everywhere_checker\rules.py:363: DeprecationWarning: invalid escape sequence \(
    len(regex.findall("\(\?=", rule.fromPattern))
C:\projects\https-everywhere-py\tests\..\..\https-everywhere\test\rules\src\https_everywhere_checker\rules.py:377
  C:\projects\https-everywhere-py\tests\..\..\https-everywhere\test\rules
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants