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 Bool )

Returns a list of substrings split by the pattern and true on success. Returns single-element list with original string and false on invalid regex.

§Safety

Stack must have two String values on top