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

Fixed match and extract when haystack has zero bytes. #9163

Merged
merged 4 commits into from
Feb 20, 2020

Conversation

alexey-milovidov
Copy link
Member

Changelog category (leave one):

  • Bug Fix

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fixed the behaviour of match and extract functions when haystack has zero bytes. The behaviour was wrong when haystack was constant. This fixes #9160

@alexey-milovidov alexey-milovidov merged commit d1e26f5 into master Feb 20, 2020
@abyss7 abyss7 added the pr-bugfix Pull request with bugfix, not backported by default label Feb 21, 2020
abyss7 pushed a commit that referenced this pull request Feb 21, 2020
Fixed `match` and `extract` when haystack has zero bytes.

(cherry picked from commit d1e26f5)
@abyss7 abyss7 added the v20.1 label Feb 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-bugfix Pull request with bugfix, not backported by default
Projects
None yet
Development

Successfully merging this pull request may close these issues.

zero-byte disturbs further regexp matching
2 participants