Optimized PCRE-based string replacement.

replace_scalar_text_matching_pcre_by_text:() is now sufficiently fast to serve
as a genuine "sed" replacement -- which, unlike "sed", accepts *ANY* PCRE and
hence is inherently capable of operating over multiple lines without the
clumsy, inefficient contortions of multiline "sed".