script::dom::htmlinputelement

Function matches_js_regex

Source
fn matches_js_regex(
    cx: JSContext,
    regex_obj: HandleObject<'_>,
    value: &str,
) -> Result<bool, ()>