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

gh-124130: Notes on empty string corner case of category \B #124133

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

y5c4l3
Copy link
Contributor

@y5c4l3 y5c4l3 commented Sep 16, 2024

@bedevere-app
Copy link

bedevere-app bot commented Sep 16, 2024

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@y5c4l3 y5c4l3 changed the title gh-124130: Match empty string for regex category \B gh-124130: Match empty strings for regex category \B Sep 16, 2024
@y5c4l3 y5c4l3 force-pushed the re-non-boundary branch 2 times, most recently from 01515bd to 5dfaf17 Compare September 16, 2024 16:15
Copy link
Member

@ZeroIntensity ZeroIntensity left a comment

Choose a reason for hiding this comment

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

This is probably a breaking change, as mentioned in the original issue :(

Could you just add a documentation note with this PR?

@y5c4l3 y5c4l3 changed the title gh-124130: Match empty strings for regex category \B gh-124130: Notes on empty string corner case of category \B Sep 21, 2024
@y5c4l3
Copy link
Contributor Author

y5c4l3 commented Sep 21, 2024

Could you just add a documentation note with this PR?

Notes added. Could you label this PR with a skip news tag?

@ZeroIntensity ZeroIntensity added docs Documentation in the Doc dir skip news labels Sep 21, 2024
Copy link
Member

@ZeroIntensity ZeroIntensity left a comment

Choose a reason for hiding this comment

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

LGTM, thank you! This is pretty much all we can do about this problem.

@ZeroIntensity ZeroIntensity added needs backport to 3.12 bug and security fixes needs backport to 3.13 bugs and security fixes labels Sep 21, 2024
Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@picnixz picnixz left a comment

Choose a reason for hiding this comment

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

Just check that Perl is indeed different or use another example (or drop it if you want).

Doc/library/re.rst Outdated Show resolved Hide resolved
Signed-off-by: y5c4l3 <y5c4l3@proton.me>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting merge docs Documentation in the Doc dir needs backport to 3.12 bug and security fixes needs backport to 3.13 bugs and security fixes skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants