-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
Conversation
y5c4l3
commented
Sep 16, 2024
•
edited by bedevere-app
bot
Loading
edited by bedevere-app
bot
- Issue: Regex \B doesn't match empty string #124130
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 |
\B
\B
01515bd
to
5dfaf17
Compare
Misc/NEWS.d/next/Library/2024-09-16-23-35-08.gh-issue-124130.bKRyYk.rst
Outdated
Show resolved
Hide resolved
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 is probably a breaking change, as mentioned in the original issue :(
Could you just add a documentation note with this PR?
5dfaf17
to
0313791
Compare
\B
\B
Notes added. Could you label this PR with a |
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.
LGTM, thank you! This is pretty much all we can do about this problem.
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.
LGTM
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.
Just check that Perl is indeed different or use another example (or drop it if you want).
Signed-off-by: y5c4l3 <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]>
0313791
to
947bc09
Compare
…ythonGH-124133) (cherry picked from commit d3e79d7) Co-authored-by: Y5 <[email protected]> Signed-off-by: y5c4l3 <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]>
GH-124328 is a backport of this pull request to the 3.13 branch. |
…ythonGH-124133) (cherry picked from commit d3e79d7) Co-authored-by: Y5 <[email protected]> Signed-off-by: y5c4l3 <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]>
GH-124329 is a backport of this pull request to the 3.12 branch. |
Merged, thanks. |
…H-124133) (#124329) gh-124130: Notes on empty string corner case of category `\B` (GH-124133) (cherry picked from commit d3e79d7) Signed-off-by: y5c4l3 <[email protected]> Co-authored-by: Y5 <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]>
…H-124133) (#124328) gh-124130: Notes on empty string corner case of category `\B` (GH-124133) (cherry picked from commit d3e79d7) Signed-off-by: y5c4l3 <[email protected]> Co-authored-by: Y5 <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]>