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

Revert "fix replaceRegexpAll bug" + proper fix #32945

Merged
merged 5 commits into from
Dec 19, 2021

Conversation

alexey-milovidov
Copy link
Member

@alexey-milovidov alexey-milovidov commented Dec 19, 2021

Reverts #30292

The code was incorrect. This closes #32777.

Changelog category (leave one):

  • Bug Fix (user-visible misbehaviour in official stable or prestable release)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix a regression in replaceRegexpAll function. The function worked incorrectly when matched substring was empty. This closes #32777. This closes #30245.

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Dec 19, 2021
src/Functions/ReplaceRegexpImpl.h Outdated Show resolved Hide resolved
Co-authored-by: Vladimir C <vdimir@clickhouse.com>
@vdimir vdimir changed the title Revert "fix replaceRegexpAll bug" Revert "fix replaceRegexpAll bug" + proper fix Dec 19, 2021
@alexey-milovidov alexey-milovidov merged commit 2e5a14a into master Dec 19, 2021
@alexey-milovidov alexey-milovidov deleted the revert-30292-trim_dev branch December 19, 2021 22:42
alexey-milovidov added a commit that referenced this pull request Dec 20, 2021
…802019fdc7cf5844d65c2f331883d3

Cherry pick #32945 to 21.12: Revert "fix replaceRegexpAll bug" + proper fix
alexey-milovidov added a commit that referenced this pull request Dec 20, 2021
Backport #32945 to 21.12: Revert "fix replaceRegexpAll bug" + proper fix
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
3 participants