Skip to content

gh-102111: Add link to string escape sequences in re module #106995

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

Merged

Conversation

wulmer
Copy link
Contributor

@wulmer wulmer commented Jul 22, 2023

This PR adds a link from the re module's documentation where the valid escape sequences are listed to the reference page where the escape sequences are listed together with their meaning and further notes.


📚 Documentation preview 📚: https://cpython-previews--106995.org.readthedocs.build/

@ghost
Copy link

ghost commented Jul 22, 2023

All commit authors signed the Contributor License Agreement.
CLA signed

@hugovk hugovk added needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Jul 23, 2023
Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@hugovk hugovk merged commit 0af247d into python:main Jul 23, 2023
@miss-islington
Copy link
Contributor

Thanks @wulmer for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry, @wulmer and @hugovk, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 0af247da0932692592ed85ba8b4a1520627ab4ac 3.11

@bedevere-bot
Copy link

GH-107096 is a backport of this pull request to the 3.12 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 23, 2023
…thonGH-106995)

(cherry picked from commit 0af247d)

Co-authored-by: wulmer <wulmer@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@bedevere-bot bedevere-bot removed the needs backport to 3.12 only security fixes label Jul 23, 2023
@hugovk
Copy link
Member

hugovk commented Jul 23, 2023

@wulmer Would you like to make a backport to the 3.11 branch, if it's appropriate? I'm also happy to do it :)

hugovk pushed a commit that referenced this pull request Jul 23, 2023
…H-106995) (#107096)

Co-authored-by: wulmer <wulmer@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
jtcave pushed a commit to jtcave/cpython that referenced this pull request Jul 23, 2023
mementum pushed a commit to mementum/cpython that referenced this pull request Jul 23, 2023
@wulmer wulmer deleted the add-reference-to-string-escapes-in-re-module-docs branch August 7, 2023 08:06
@ZeroIntensity ZeroIntensity removed the needs backport to 3.11 only security fixes label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants