pub fn str_split_regex( s: &str, re_val: &Value, limit: Option<usize>, ) -> Result<Value, String>
str.split(re[, limit]): split on regex matches; captured groups are spliced into the output (JS semantics).
str.split(re[, limit])