-
-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Description
Found this interesting segfault today! Seems to happen using this regex, possibly others... But if you remove a single x
, it no longer segfaults...
Here is a barebone example
use pcre2::bytes::RegexBuilder;
fn main() {
let rgx = RegexBuilder::new().jit_if_available(true).build("xxxx|xxxx|xxxx").unwrap();
rgx.is_match(&Vec::new()).unwrap();
}
Metadata
Metadata
Assignees
Labels
No labels