Skip to content
Snippets Groups Projects
Commit 779633ba authored by Simon McVittie's avatar Simon McVittie
Browse files

g_string_replace: Backport from GLib

Note that this implementation does not cope gracefully with zero-length
patterns (https://gitlab.gnome.org/GNOME/glib/-/issues/2452

) so we
should be careful not to use it like that. For the use-case that I
have in mind, that won't be a problem.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 47dc463c
No related branches found
No related tags found
1 merge request!343g_string_replace: Backport from GLib
Pipeline #16369 passed