patch_seq_regex_split

Function patch_seq_regex_split 

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

Split a string by a pattern

Stack effect: ( String pattern – List )

Returns a list of substrings split by the pattern. If invalid regex, returns a single-element list with the original string.

§Safety

Stack must have two String values on top