pub fn search_j(haystack: JsString, regex: &JsRegExp) -> Result<i64>
JavaScript-like search(regex) using UTF-16 code-unit indices.
search(regex)
Returns the first match index, or -1 if not found.
-1