pub fn validate(pat: &str, unicode: bool, sets: bool) -> Result<(), String>
The first early error in pat, with V8’s reason text.
pat