patch_seq_regex_captures

Function patch_seq_regex_captures 

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

Extract capture groups from a pattern match

Stack effect: ( String pattern – List Bool )

Returns a list of captured groups (excluding the full match) and true on success. Returns empty list and false if no match or invalid regex.

§Safety

Stack must have two String values on top