Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated regex #12

Closed
rainwoodman opened this issue Dec 13, 2018 · 1 comment · Fixed by #13
Closed

Deprecated regex #12

rainwoodman opened this issue Dec 13, 2018 · 1 comment · Fixed by #13

Comments

@rainwoodman
Copy link

@rainwoodman rainwoodman commented Dec 13, 2018

I am reporting this deprecation warning:

docrep.py:24: DeprecationWarning: Flags not at the start of the expression '(?<!%)(%%)*%(?!%)   ' (truncated)
    \((?P<key>(?s).*?)\)# key enclosed in brackets""", re.VERBOSE)

Line 24 is:

substitution_pattern = re.compile(
    r"""(?<!%)(%%)*%(?!%)   # uneven number of %
        \((?P<key>(?s).*?)\)# key enclosed in brackets""", re.VERBOSE)
Chilipp added a commit that referenced this issue Dec 16, 2018
resolves #12
@Chilipp Chilipp closed this in #13 Dec 16, 2018
@Chilipp

This comment has been minimized.

Copy link
Owner

@Chilipp Chilipp commented Dec 16, 2018

closed by #13

I will draft a new release now. Thanks a lot for reporting! 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.