patch_seq_regex_replace

Function patch_seq_regex_replace 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn patch_seq_regex_replace( stack: Stack, ) -> Stack
Expand description

Replace the first occurrence of a pattern

Stack effect: ( String pattern replacement – String )

Returns the string with the first match replaced. If no match or invalid regex, returns the original string.

§Safety

Stack must have three String values on top