Skip to content

docs: document replace() behavior with empty search string#1658

Draft
imilinovic wants to merge 1 commit into
release/3.11from
fix/oom
Draft

docs: document replace() behavior with empty search string#1658
imilinovic wants to merge 1 commit into
release/3.11from
fix/oom

Conversation

@imilinovic

Copy link
Copy Markdown
Contributor

Release note

Fixed a crash where replace() would loop and exhaust server memory when the search string was empty; an empty search string now inserts the replacement around every character (e.g. replace("abc", "", "-")"-a-b-c-"). Documented this behavior on the string functions reference page.

Related product PRs

PRs from product repo this doc page is related to:
memgraph/memgraph#4269

Checklist:

  • Add appropriate milestone (current release cycle)
  • Add bugfix or feature label, based on the product PR type you're documenting
  • Make sure all relevant tech details are documented
  • Check all content with Grammarly
  • Perform a self-review of my code
  • The build passes locally
  • My changes generate no new warnings or errors

@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
documentation Ready Ready Preview, Comment Jun 15, 2026 8:06am

Request Review

@imilinovic imilinovic changed the title fix: document replace() behavior with empty search string docs: document replace() behavior with empty search string Jun 15, 2026
@imilinovic imilinovic marked this pull request as draft June 15, 2026 11:05
@imilinovic imilinovic added the bugfix Documentation related to a product bugfix label Jun 15, 2026
@imilinovic imilinovic self-assigned this Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Documentation related to a product bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant