fn compile_pattern(
cx: &mut JSContext,
pattern_str: &str,
out_regex: MutableHandleObject<'_>,
) -> boolExpand description
This is used to compile JS-compatible regex provided in pattern attribute that matches only the entirety of string. https://html.spec.whatwg.org/multipage/#compiled-pattern-regular-expression