Introduce String::remove_matches
to remove all matches of a pattern in a string.
#50206
Labels
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Like
replace(..., "")
, but doesn't result in any allocations.I started implementing this in #50015 but got stuck, mainly because of limitations in the
Pattern
APIs.This issue has been assigned to @jcotton42 via this comment.
The text was updated successfully, but these errors were encountered: