[ Version ( since = "0.56" ) ]
public string substitute (string subject, string replacement, uint32 flags) throws Error
See man:pcre2api(3) and man:pcre2_substitute(3) for more information.
this |
a Regex |
subject |
the subject string |
replacement |
the replacement string |
flags |
PCRE2 match flags |
the substituted string, or |