-
-
Notifications
You must be signed in to change notification settings - Fork 515
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
Double backslash #1710
Double backslash #1710
Conversation
(?::(?P<default_value>[^{}]*))? # default value | ||
[}] | ||
(?::(?P<default_value>([^{}]|\\{|\\})*))? # default value | ||
(?<!\\)[}] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should really be (?<![^\\]\\)[}]
, but that introduces problems that I believe can only be solved if \
is not permitted in section headings or in key names, or possibly only the last character of those strings.
f813e7c
to
74bd990
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This now has merge conflicts.
I'll close this for now until you can attend to the PR again. Once you've done we can reopen. |
Escape backslash.
Fixes #1708
Contribution checklist:
(also see CONTRIBUTING.rst for details)
in message body
<issue number>.<type>.rst
for example (588.bugfix.rst)<type>
is must be one ofbugfix
,feature
,deprecation
,breaking
,doc
,misc
<your username>
"superuser
."CONTRIBUTORS
(preserving alphabetical order)