pub fn str_match(s: &str, re_val: &Value) -> Result<Value, String>
str.match(re): without g, same as exec (array or null); with g, an array of every whole-match string (or null if none).
str.match(re)
g
exec