substitute


Description:

[ 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.

Parameters:

this

a Regex

subject

the subject string

replacement

the replacement string

flags

PCRE2 match flags

Returns:

the substituted string, or null if an error occurred




2022 vala-language.org