gregex function to replace many strings at once
Submitted by Behdad Esfahbod
Link to original bug (#558749)
Description
Currently if I want to, say, replace ten strings in a chunk of text I have to call g_regex_replace* ten times, copying the text chunk ten times. Most languages have a way to provide an array of texts and their replacements. Though if we add that, we need to add all three flavors (regular, _eval, _literal).