Dataset Viewer
Auto-converted to Parquet Duplicate
repo
stringclasses
1 value
created_at
stringlengths
20
20
instance_id
stringlengths
20
21
test_patch
stringlengths
560
7.45k
hints_text
stringclasses
7 values
patch
stringlengths
911
342k
issue_numbers
sequencelengths
1
2
pull_number
int64
637
1.11k
problem_statement
stringlengths
702
2.89k
version
stringclasses
7 values
base_commit
stringlengths
40
40
environment_setup_commit
stringclasses
7 values
FAIL_TO_PASS
sequencelengths
1
6
PASS_TO_PASS
sequencelengths
63
1.98k
FAIL_TO_FAIL
sequencelengths
0
0
PASS_TO_FAIL
sequencelengths
0
0
rust-lang/regex
2023-10-16T14:23:23Z
rust-lang__regex-1111
diff --git a/testdata/regression.toml b/testdata/regression.toml --- a/testdata/regression.toml +++ b/testdata/regression.toml @@ -813,3 +813,18 @@ name = "hir-optimization-out-of-order-class" regex = '^[[:alnum:]./-]+$' haystack = "a-b" matches = [[0, 3]] + +# This is a regression test for an improper reverse suffix optimization. This +# occurred when I "broadened" the applicability of the optimization to include +# multiple possible literal suffixes instead of only sticking to a non-empty +# longest common suffix. It turns out that, at least given how the reverse +# suffix optimization works, we need to stick to the longest common suffix for +# now. +# +# See: https://github.com/rust-lang/regex/issues/1110 +# See also: https://github.com/astral-sh/ruff/pull/7980 +[[test]] +name = 'improper-reverse-suffix-optimization' +regex = '(\\N\{[^}]+})|([{}])' +haystack = 'hiya \N{snowman} bye' +matches = [[[5, 16], [5, 16], []]]
diff --git a/regex-automata/src/meta/strategy.rs b/regex-automata/src/meta/strategy.rs --- a/regex-automata/src/meta/strategy.rs +++ b/regex-automata/src/meta/strategy.rs @@ -1167,21 +1167,34 @@ impl ReverseSuffix { return Err(core); } let kind = core.info.config().get_match_kind(); - let suffixseq = crate::util::prefilter::suffixes(kind, hirs); - let Some(suffixes) = suffixseq.literals() else { - debug!( - "skipping reverse suffix optimization because \ - the extract suffix sequence is not finite", - ); - return Err(core); + let suffixes = crate::util::prefilter::suffixes(kind, hirs); + let lcs = match suffixes.longest_common_suffix() { + None => { + debug!( + "skipping reverse suffix optimization because \ + a longest common suffix could not be found", + ); + return Err(core); + } + Some(lcs) if lcs.is_empty() => { + debug!( + "skipping reverse suffix optimization because \ + the longest common suffix is the empty string", + ); + return Err(core); + } + Some(lcs) => lcs, }; - let Some(pre) = Prefilter::new(kind, suffixes) else { - debug!( - "skipping reverse suffix optimization because \ + let pre = match Prefilter::new(kind, &[lcs]) { + Some(pre) => pre, + None => { + debug!( + "skipping reverse suffix optimization because \ a prefilter could not be constructed from the \ longest common suffix", - ); - return Err(core); + ); + return Err(core); + } }; if !pre.is_fast() { debug!( diff --git a/regex-automata/src/meta/strategy.rs b/regex-automata/src/meta/strategy.rs --- a/regex-automata/src/meta/strategy.rs +++ b/regex-automata/src/meta/strategy.rs @@ -1268,7 +1281,7 @@ impl ReverseSuffix { e.try_search_half_rev_limited(&input, min_start) } else if let Some(e) = self.core.hybrid.get(&input) { trace!( - "using lazy DFA for reverse inner search at {:?}, \ + "using lazy DFA for reverse suffix search at {:?}, \ but will be stopped at {} to avoid quadratic behavior", input.get_span(), min_start,
[ "1110" ]
1,111
broadening of reverse suffix optimization has led to incorrect matches Specifically, this program succeeds in `regex 1.9.x` but fails in `regex 1.10.1`: ```rust fn main() -> anyhow::Result<()> { let re = regex::Regex::new(r"(\\N\{[^}]+})|([{}])").unwrap(); let hay = r#"hiya \N{snowman} bye"#; let matches = re.find_iter(hay).map(|m| m.range()).collect::<Vec<_>>(); assert_eq!(matches, vec![5..16]); Ok(()) } ``` Its output with `1.10.1`: ``` $ cargo run -q thread 'main' panicked at main.rs:7:5: assertion `left == right` failed left: [7..8, 15..16] right: [5..16] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ``` I believe the issue here was my change to broaden the reverse suffix optimization to use one of many possible literals. But this turns out to be not be quite correct since the rules that govern prefixes don't apply to suffixes. In this case, the literal optimization extracts `{` and `}` as suffixes. It looks for a `{` first and finds a match at that position via the second alternate in the regex. But this winds up missing the match that came before it with the first alternate since the `{` isn't a suffix of the first alternate. This is why we should, at least at present, only use this optimization when there is a non-empty longest common suffix. In that case, and only that case, we know that it is a suffix of every possible path through the regex. Thank you to @charliermarsh for finding this! See: https://github.com/astral-sh/ruff/pull/7980
1.10
e7bd19dd3ebf4b1a861275f0353202bf93a39ab1
10fe722a3fcfdc17068b21f3262189cc52227bb5
[ "suite_string::default" ]
[ "misc::capture_index_panic_name - should panic", "fuzz::meta_stopat_specialize_start_states_min", "fuzz::slow_big_empty_chain4", "fuzz::slow_big_empty_chain6", "regression::regression_invalid_repetition_expr", "misc::capture_index_panic_usize - should panic", "fuzz::fail_branch_prevents_match", "misc::capture_index", "fuzz::slow_big_empty_chain2", "fuzz::minimum_len_overflow", "fuzz::slow_big_empty_chain3", "misc::capture_names", "fuzz::meta_stopat_specialize_start_states", "misc::regex_string", "misc::capture_misc", "regression::regression_bad_word_boundary", "misc::unclosed_group_error", "misc::capture_index_lifetime", "fuzz::slow_big_empty_chain5", "regression::regression_invalid_flags_expression", "regression::regression_complete_literals_suffix_incorrect", "regression::invalid_regexes_no_crash", "fuzz::slow_big_empty_chain", "misc::sub_capture_matches", "regression::regression_captures_rep", "regression::regression_nfa_stops1", "misc::dfa_handles_pathological_case", "regression::regression_many_repeat_stack_overflow", "regression::regression_unicode_perl_not_enabled", "regression::regression_big_regex_overflow", "regression_fuzz::empty_any_errors_no_panic", "replace::all", "replace::plus", "replace::single_empty_match", "replace::first", "replace::literal_dollar2", "replace::named", "replace::match_at_start_replace_with_empty", "replace::simple_expand", "replace::number_hyphen", "replace::groups", "replace::no_expand1", "replace::literal_dollar1", "replace::closure_returning_reference", "replace::impl_cow_str_owned", "replace::replacen_no_captures", "replace::closure_returning_value", "replace::impl_string_ref", "replace::replacen_with_captures", "replace::impl_cow_str_borrowed_ref", "regression_fuzz::fail_branch_prevents_match", "replace::impl_string", "replace::no_expand2", "replace::trim", "replace::capture_longest_possible_name", "replace::impl_cow_str_owned_ref", "regression_fuzz::todo", "replace::impl_cow_str_borrowed", "suite_bytes::default", "replace::double_dollar", "suite_bytes_set::default", "suite_string_set::default", "regression_fuzz::big_regex_fails_to_compile" ]
[]
[]
rust-lang/regex
2023-08-26T12:53:23Z
rust-lang__regex-1072
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,10 +54,14 @@ jobs: os: ubuntu-latest rust: stable target: i686-unknown-linux-gnu - - build: stable-mips + - build: stable-powerpc64 os: ubuntu-latest rust: stable - target: mips64-unknown-linux-gnuabi64 + target: powerpc64-unknown-linux-gnu + - build: stable-s390x + os: ubuntu-latest + rust: stable + target: s390x-unknown-linux-gnu - build: beta os: ubuntu-latest rust: beta diff --git a/testdata/regression.toml b/testdata/regression.toml --- a/testdata/regression.toml +++ b/testdata/regression.toml @@ -756,3 +756,29 @@ name = "reverse-inner-short" regex = '(?:([0-9][0-9][0-9]):)?([0-9][0-9]):([0-9][0-9])' haystack = '102:12:39' matches = [[[0, 9], [0, 3], [4, 6], [7, 9]]] + +# This regression test was found via the RegexSet APIs. It triggered a +# particular code path where a regex was compiled with 'All' match semantics +# (to support overlapping search), but got funneled down into a standard +# leftmost search when calling 'is_match'. This is fine on its own, but the +# leftmost search will use a prefilter and that's where this went awry. +# +# Namely, since 'All' semantics were used, the aho-corasick prefilter was +# incorrectly compiled with 'Standard' semantics. This was wrong because +# 'Standard' immediately attempts to report a match at every position, even if +# that would mean reporting a match past the leftmost match before reporting +# the leftmost match. This breaks the prefilter contract of never having false +# negatives and leads overall to the engine not finding a match. +# +# See: https://github.com/rust-lang/regex/issues/1070 +[[test]] +name = "prefilter-with-aho-corasick-standard-semantics" +regex = '(?m)^ *v [0-9]' +haystack = 'v 0' +matches = [ + { id = 0, spans = [[0, 3]] }, +] +match-kind = "all" +search-kind = "overlapping" +unicode = true +utf8 = true
diff --git a/regex-automata/src/util/prefilter/aho_corasick.rs b/regex-automata/src/util/prefilter/aho_corasick.rs --- a/regex-automata/src/util/prefilter/aho_corasick.rs +++ b/regex-automata/src/util/prefilter/aho_corasick.rs @@ -22,11 +22,20 @@ impl AhoCorasick { } #[cfg(feature = "perf-literal-multisubstring")] { + // We used to use `aho_corasick::MatchKind::Standard` here when + // `kind` was `MatchKind::All`, but this is not correct. The + // "standard" Aho-Corasick match semantics are to report a match + // immediately as soon as it is seen, but `All` isn't like that. + // In particular, with "standard" semantics, given the needles + // "abc" and "b" and the haystack "abc," it would report a match + // at offset 1 before a match at offset 0. This is never what we + // want in the context of the regex engine, regardless of whether + // we have leftmost-first or 'all' semantics. Namely, we always + // want the leftmost match. let ac_match_kind = match kind { - MatchKind::LeftmostFirst => { + MatchKind::LeftmostFirst | MatchKind::All => { aho_corasick::MatchKind::LeftmostFirst } - MatchKind::All => aho_corasick::MatchKind::Standard, }; // This is kind of just an arbitrary number, but basically, if we // have a small enough set of literals, then we try to use the VERY diff --git a/regex-automata/src/util/prefilter/mod.rs b/regex-automata/src/util/prefilter/mod.rs --- a/regex-automata/src/util/prefilter/mod.rs +++ b/regex-automata/src/util/prefilter/mod.rs @@ -195,15 +195,6 @@ impl Prefilter { /// Some(Span::from(6..9)), /// pre.find(hay.as_bytes(), Span::from(0..hay.len())), /// ); - /// // Now we put 'samwise' back before 'sam', but change the match - /// // semantics to 'All'. In this case, there is no preference - /// // order semantics and the first match detected is returned. - /// let pre = Prefilter::new(MatchKind::All, &["samwise", "sam"]) - /// .expect("a prefilter"); - /// assert_eq!( - /// Some(Span::from(6..9)), - /// pre.find(hay.as_bytes(), Span::from(0..hay.len())), - /// ); /// /// # Ok::<(), Box<dyn std::error::Error>>(()) /// ``` diff --git a/regex-automata/src/util/prefilter/teddy.rs b/regex-automata/src/util/prefilter/teddy.rs --- a/regex-automata/src/util/prefilter/teddy.rs +++ b/regex-automata/src/util/prefilter/teddy.rs @@ -50,12 +50,17 @@ impl Teddy { // theory we could at least support leftmost-longest, as the // aho-corasick crate does, but regex-automata doesn't know about // leftmost-longest currently. + // + // And like the aho-corasick prefilter, if we're using `All` + // semantics, then we can still use leftmost semantics for a + // prefilter. (This might be a suspicious choice for the literal + // engine, which uses a prefilter as a regex engine directly, but + // that only happens when using leftmost-first semantics.) let (packed_match_kind, ac_match_kind) = match kind { - MatchKind::LeftmostFirst => ( + MatchKind::LeftmostFirst | MatchKind::All => ( aho_corasick::packed::MatchKind::LeftmostFirst, aho_corasick::MatchKind::LeftmostFirst, ), - _ => return None, }; let minimum_len = needles.iter().map(|n| n.as_ref().len()).min().unwrap_or(0);
[ "1070" ]
1,072
RegexSet and Regex give different results for the same pattern in 1.9 #### What version of regex are you using? `1.9.3`. The issue is present in regex `1.9.0` and later. #### Describe the bug at a high level. `RegexSet::new([r"(?m)^ *v [0-9]"]).unwrap().is_match("v 0")` incorrectly returns false in version 1.9.0 and later. It returns true in 1.8.4. It returns true if I use a `Regex` instead of a `RegexSet`. #### What are the steps to reproduce the behavior? ```rust fn main() { let pattern = r"(?m)^ *v [0-9]"; let text = "v 0"; let re = regex::Regex::new(pattern).unwrap(); println!("re is: {re:?}"); println!("{}", re.is_match(text)); // true (correct) let rs = regex::RegexSet::new([pattern]).unwrap(); println!("rs is: {rs:?}"); println!("{}", rs.is_match(text)); // false (incorrect) } ``` ([playground link](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=eb964fd144925df0b5fd15e0d1d61279)) #### What is the actual behavior? ``` re is: Regex("(?m)^ *v [0-9]") true rs is: RegexSet(["(?m)^ *v [0-9]"]) false ``` #### What is the expected behavior? The last line should be `true`.
1.9
7536e055840f74f1f7bda8ffecf851cb3e500147
17284451f10aa06c6c42e622e3529b98513901a8
[ "suite_string_set::default" ]
[ "fuzz::fail_branch_prevents_match", "fuzz::meta_stopat_specialize_start_states", "fuzz::slow_big_empty_chain", "fuzz::slow_big_empty_chain4", "misc::capture_index_lifetime", "fuzz::slow_big_empty_chain3", "fuzz::slow_big_empty_chain2", "fuzz::slow_big_empty_chain5", "fuzz::meta_stopat_specialize_start_states_min", "misc::capture_index", "misc::capture_misc", "fuzz::slow_big_empty_chain6", "misc::capture_names", "misc::regex_string", "misc::sub_capture_matches", "misc::capture_index_panic_name - should panic", "misc::unclosed_group_error", "misc::capture_index_panic_usize - should panic", "regression::regression_bad_word_boundary", "regression::invalid_regexes_no_crash", "misc::dfa_handles_pathological_case", "regression::regression_complete_literals_suffix_incorrect", "regression::regression_captures_rep", "regression::regression_invalid_repetition_expr", "regression::regression_invalid_flags_expression", "regression::regression_nfa_stops1", "regression_fuzz::empty_any_errors_no_panic", "regression_fuzz::fail_branch_prevents_match", "replace::all", "replace::impl_cow_str_borrowed_ref", "replace::impl_cow_str_owned", "replace::impl_cow_str_owned_ref", "regression_fuzz::todo", "replace::impl_string_ref", "replace::replacen_no_captures", "replace::literal_dollar2", "replace::match_at_start_replace_with_empty", "replace::single_empty_match", "replace::trim", "replace::first", "replace::literal_dollar1", "replace::impl_cow_str_borrowed", "replace::double_dollar", "replace::simple_expand", "replace::closure_returning_value", "replace::closure_returning_reference", "replace::replacen_with_captures", "replace::impl_string", "replace::named", "replace::plus", "regression::regression_unicode_perl_not_enabled", "replace::no_expand2", "replace::capture_longest_possible_name", "replace::number_hyphen", "replace::groups", "replace::no_expand1", "suite_bytes_set::default", "fuzz::minimum_len_overflow", "regression::regression_big_regex_overflow", "suite_bytes::default", "regression::regression_many_repeat_stack_overflow", "regression_fuzz::big_regex_fails_to_compile", "suite_string::default" ]
[]
[]
rust-lang/regex
2023-08-05T21:38:26Z
rust-lang__regex-1063
diff --git a/testdata/regression.toml b/testdata/regression.toml --- a/testdata/regression.toml +++ b/testdata/regression.toml @@ -739,3 +739,20 @@ matches = [[0, 9]] utf8 = false match-kind = "all" search-kind = "overlapping" + +# See: https://github.com/rust-lang/regex/issues/1060 +[[test]] +name = "reverse-inner-plus-shorter-than-expected" +regex = '(?:(\d+)[:.])?(\d{1,2})[:.](\d{2})' +haystack = '102:12:39' +matches = [[[0, 9], [0, 3], [4, 6], [7, 9]]] + +# Like reverse-inner-plus-shorter-than-expected, but using a far simpler regex +# to demonstrate the extent of the rot. Sigh. +# +# See: https://github.com/rust-lang/regex/issues/1060 +[[test]] +name = "reverse-inner-short" +regex = '(?:([0-9][0-9][0-9]):)?([0-9][0-9]):([0-9][0-9])' +haystack = '102:12:39' +matches = [[[0, 9], [0, 3], [4, 6], [7, 9]]]
CLI reproduction: ``` $ regex-cli find match meta -p '(?:(\d+)[:.])?(\d{1,2})[:.](\d{2})' -y '888:77:66' parse time: 27.056µs translate time: 9.404µs build meta time: 263.862µs search time: 28.082µs total matches: 1 0:1:9:88:77:66 ``` The match should be `0:9` but `1:9` is reported. This isn't really about `+` but about a literal optimization. The regex is conceptually broken into three pieces: `(?:(\d+)[:.])?(\d{1,2})`, `[:.]` and `(\d{2})`. The search looks for matches of the `[:.]` first, which is very quick by virtue of using SIMD acceleration. That first match occurs at `&haystack[3]`. Then it tries to run a reverse search for `(?:(\d+)[:.])?(\d{1,2})`. This is where things go wrong. It finds a reverse match at `&haystack[1]` because the `\d{1,2}` matches two digits and since the `(?:(\d+)[:.])?` is overall optional and the `[:.]` doesn't match at this point, the match is reported at offset `1`. Then a forward search is run from that point to find the real end of the match, which finds `9` because a match at `&haystack[1..9]` exists, but the correct leftmost match is `&haystack[0..9]`. I'm going to need to think a little bit about how to fix this. It might be something about characterizing regexes that can't be used with the inner literal optimization. Which is unfortunate, but much better than removing the inner literal optimization altogether... Yikes.
diff --git a/regex-automata/src/meta/limited.rs b/regex-automata/src/meta/limited.rs --- a/regex-automata/src/meta/limited.rs +++ b/regex-automata/src/meta/limited.rs @@ -88,7 +88,41 @@ pub(crate) fn dfa_try_search_half_rev( return Err(RetryError::Quadratic(RetryQuadraticError::new())); } } + let was_dead = dfa.is_dead_state(sid); dfa_eoi_rev(dfa, input, &mut sid, &mut mat)?; + // If we reach the beginning of the search and we could otherwise still + // potentially keep matching if there was more to match, then we actually + // return an error to indicate giving up on this optimization. Why? Because + // we can't prove that the real match begins at where we would report it. + // + // This only happens when all of the following are true: + // + // 1) We reach the starting point of our search span. + // 2) The match we found is before the starting point. + // 3) The FSM reports we could possibly find a longer match. + // + // We need (1) because otherwise the search stopped before the starting + // point and there is no possible way to find a more leftmost position. + // + // We need (2) because if the match found has an offset equal to the minimum + // possible offset, then there is no possible more leftmost match. + // + // We need (3) because if the FSM couldn't continue anyway (i.e., it's in + // a dead state), then we know we couldn't find anything more leftmost + // than what we have. (We have to check the state we were in prior to the + // EOI transition since the EOI transition will usually bring us to a dead + // state by virtue of it represents the end-of-input.) + if at == input.start() + && mat.map_or(false, |m| m.offset() > input.start()) + && !was_dead + { + trace!( + "reached beginning of search at offset {} without hitting \ + a dead state, quitting to avoid potential false positive match", + at, + ); + return Err(RetryError::Quadratic(RetryQuadraticError::new())); + } Ok(mat) } diff --git a/regex-automata/src/meta/limited.rs b/regex-automata/src/meta/limited.rs --- a/regex-automata/src/meta/limited.rs +++ b/regex-automata/src/meta/limited.rs @@ -140,7 +174,20 @@ pub(crate) fn hybrid_try_search_half_rev( return Err(RetryError::Quadratic(RetryQuadraticError::new())); } } + let was_dead = sid.is_dead(); hybrid_eoi_rev(dfa, cache, input, &mut sid, &mut mat)?; + // See the comments in the full DFA routine above for why we need this. + if at == input.start() + && mat.map_or(false, |m| m.offset() > input.start()) + && !was_dead + { + trace!( + "reached beginning of search at offset {} without hitting \ + a dead state, quitting to avoid potential false positive match", + at, + ); + return Err(RetryError::Quadratic(RetryQuadraticError::new())); + } Ok(mat) }
[ "1060" ]
1,063
reverse inner literal optimization results in incorrect match offsets in some cases #### What version of regex are you using? The bug is present in version 1.9.0 and 1.9.1. 1.8.4 was the last working version. #### Describe the bug at a high level. I am using the regex crate for parsing textual video durations and getting the duration in seconds. After updating the regex crate to version 1.9.0, my regex fails to parse durations with more than 2 hour digits. The + operator I use for matching an arbitrary amount of hour digits now only matches 1 or 2 digits. #### What are the steps to reproduce the behavior? Regex: `(?:(\d+)[:.])?(\d{1,2})[:.](\d{2})` Here is my parsing function. ```rust /// Parse textual video length (e.g. `0:49`, `2:02` or `1:48:18`) /// and return the duration in seconds. pub fn parse_video_length(text: &str) -> Option<u32> { static VIDEO_LENGTH_REGEX: Lazy<Regex> = Lazy::new(|| Regex::new(r#"(?:(\d+)[:.])?(\d{1,2})[:.](\d{2})"#).unwrap()); VIDEO_LENGTH_REGEX.captures(text).map(|cap| { let hrs = cap .get(1) .and_then(|x| x.as_str().parse::<u32>().ok()) .unwrap_or_default(); let min = cap .get(2) .and_then(|x| x.as_str().parse::<u32>().ok()) .unwrap_or_default(); let sec = cap .get(3) .and_then(|x| x.as_str().parse::<u32>().ok()) .unwrap_or_default(); hrs * 3600 + min * 60 + sec }) } ``` #### What is the actual behavior? The hour group only matches the number 2, so the parsed duration is `2:12:39` or 7959 seconds ```rust parse_video_length("102:12:39") == Some(7959) ``` #### What is the expected behavior? ```rust parse_video_length("102:12:39") == Some(367959) ```
1.9
bbf0b38df618734b92d7b92acc8a8bf31b6d0046
17284451f10aa06c6c42e622e3529b98513901a8
[ "suite_string::default" ]
[ "fuzz::fail_branch_prevents_match", "fuzz::slow_big_empty_chain", "fuzz::slow_big_empty_chain3", "fuzz::meta_stopat_specialize_start_states", "fuzz::slow_big_empty_chain4", "misc::capture_index_lifetime", "misc::capture_index", "fuzz::slow_big_empty_chain6", "fuzz::slow_big_empty_chain2", "fuzz::meta_stopat_specialize_start_states_min", "fuzz::slow_big_empty_chain5", "misc::regex_string", "misc::dfa_handles_pathological_case", "misc::sub_capture_matches", "misc::capture_index_panic_name - should panic", "misc::capture_index_panic_usize - should panic", "misc::unclosed_group_error", "regression::invalid_regexes_no_crash", "misc::capture_names", "regression::regression_bad_word_boundary", "regression::regression_complete_literals_suffix_incorrect", "regression::regression_invalid_repetition_expr", "regression::regression_captures_rep", "regression::regression_invalid_flags_expression", "misc::capture_misc", "regression::regression_nfa_stops1", "regression_fuzz::fail_branch_prevents_match", "regression_fuzz::todo", "replace::capture_longest_possible_name", "replace::closure_returning_reference", "replace::impl_cow_str_borrowed_ref", "replace::impl_cow_str_owned", "replace::impl_string", "regression_fuzz::empty_any_errors_no_panic", "replace::all", "replace::match_at_start_replace_with_empty", "replace::simple_expand", "replace::number_hyphen", "replace::impl_cow_str_owned_ref", "replace::literal_dollar1", "replace::literal_dollar2", "replace::no_expand2", "regression::regression_unicode_perl_not_enabled", "replace::trim", "replace::first", "replace::impl_cow_str_borrowed", "replace::replacen_with_captures", "replace::closure_returning_value", "replace::replacen_no_captures", "replace::impl_string_ref", "replace::plus", "replace::single_empty_match", "replace::double_dollar", "replace::no_expand1", "replace::named", "replace::groups", "suite_string_set::default", "fuzz::minimum_len_overflow", "regression::regression_big_regex_overflow", "suite_bytes::default", "suite_bytes_set::default", "regression::regression_many_repeat_stack_overflow", "regression_fuzz::big_regex_fails_to_compile" ]
[]
[]
rust-lang/regex
2023-05-25T15:45:45Z
rust-lang__regex-1000
diff --git a/tests/regression.rs b/tests/regression.rs --- a/tests/regression.rs +++ b/tests/regression.rs @@ -248,3 +248,16 @@ fn regression_big_regex_overflow() { let re = regex_new!(pat); assert!(re.is_err()); } + +#[test] +fn regression_complete_literals_suffix_incorrect() { + let needles = vec![ + "aA", "bA", "cA", "dA", "eA", "fA", "gA", "hA", "iA", "jA", "kA", + "lA", "mA", "nA", "oA", "pA", "qA", "rA", "sA", "tA", "uA", "vA", + "wA", "xA", "yA", "zA", + ]; + let pattern = needles.join("|"); + let re = regex!(&pattern); + let hay = "FUBAR"; + assert_eq!(0, re.find_iter(text!(hay)).count()); +}
This was originally reported via ripgrep: https://github.com/rust-lang/regex/issues/999
diff --git a/src/exec.rs b/src/exec.rs --- a/src/exec.rs +++ b/src/exec.rs @@ -1439,7 +1439,18 @@ impl ExecReadOnly { // This case shouldn't happen. When the regex isn't // anchored, then complete prefixes should imply complete // suffixes. - Some(MatchType::Literal(MatchLiteralType::Unanchored)) + // + // The above is wrong! This case can happen. While + // complete prefixes should imply complete suffixes + // here, that doesn't necessarily mean we have a useful + // prefix matcher! It could be the case that the literal + // searcher decided the prefixes---even though they are + // "complete"---weren't good enough and thus created an + // empty matcher. If that happens and we return Unanchored + // here, then we'll end up using that matcher, which is + // very bad because it matches at every position. So... + // return None. + None }; } None
[ "999" ]
1,000
regex with many literal alternates can erroneously match the empty string This program panics: ```rust fn main() { let needles = vec![ "aA", "bA", "cA", "dA", "eA", "fA", "gA", "hA", "iA", "jA", "kA", "lA", "mA", "nA", "oA", "pA", "qA", "rA", "sA", "tA", "uA", "vA", "wA", "xA", "yA", "zA", ]; let pattern = needles.join("|"); let re = regex::Regex::new(&pattern).unwrap(); let hay = "FUBAR"; assert_eq!(0, re.find_iter(hay).count()); } ``` But it should run without panicking as the regex should not match anything in `FUBAR`. This is another bug caused by the literal optimizer. This one is pretty hard to hit. All of the following need to be true: * The literals extracted need to be "complete." That is, the language described by the regex is small and finite. * There needs to be at least 26 distinct starting bytes among all of the elements in the language described by the regex. * There needs to be fewer than 26 distinct ending bytes among all of the elements in the language described by the regex. * Possibly other criteria... This causes a weird code path in `src/exec.rs` that results in using an "empty" prefix literal matcher that matches at every position. I'll plan to get a fix up for this soon, but this bug does not impact the rewrite. (Its literal infrastructure is far more principled than the hodge podge on `master`. We'll see if it lives up to my expectations though.)
1.8
d555d6122d1d1a354c45361d029571413beca8ef
d555d6122d1d1a354c45361d029571413beca8ef
[ "regression::regression_complete_literals_suffix_incorrect" ]
[ "compile::tests::byte_classes", "compile::tests::full_byte_classes", "dfa::tests::prop_read_write_i32", "dfa::tests::prop_read_write_u32", "expand::tests::find_cap_ref1", "exec::test::uppercut_s_backtracking_bytes_default_bytes_mismatch", "exec::test::unicode_lit_star_backtracking_utf8bytes_default_utf8bytes_mismatch", "expand::tests::find_cap_ref11", "expand::tests::find_cap_ref10", "expand::tests::find_cap_ref12", "expand::tests::find_cap_ref13", "expand::tests::find_cap_ref14", "expand::tests::find_cap_ref15", "expand::tests::find_cap_ref16", "expand::tests::find_cap_ref17", "expand::tests::find_cap_ref18", "expand::tests::find_cap_ref19", "expand::tests::find_cap_ref2", "expand::tests::find_cap_ref20", "expand::tests::find_cap_ref21", "expand::tests::find_cap_ref22", "expand::tests::find_cap_ref23", "expand::tests::find_cap_ref24", "expand::tests::find_cap_ref25", "expand::tests::find_cap_ref26", "expand::tests::find_cap_ref3", "expand::tests::find_cap_ref4", "expand::tests::find_cap_ref5", "expand::tests::find_cap_ref6", "expand::tests::find_cap_ref7", "expand::tests::find_cap_ref8", "expand::tests::find_cap_ref9", "pool::tests::oibits", "prog::test::test_size_of_inst", "utf8::tests::prop_decode_last_matches_std", "pool::tests::thread_owner_optimization", "utf8::tests::prop_decode_matches_std", "utf8::tests::prop_roundtrip", "utf8::tests::prop_encode_matches_std", "utf8::tests::reject_invalid", "utf8::tests::prop_roundtrip_last", "utf8::tests::reject_invalid_last", "dfa::tests::prop_state_encode_decode", "api::capture_index", "api::capture_index_lifetime", "api::capture_index_panic_usize - should panic", "api::capture_index_panic_name - should panic", "api::capture_names", "api::capture_misc", "api::empty_match_find_iter", "api::empty_match_captures_iter", "api::empty_regex_empty_match", "api::expand10", "api::empty_regex_nonempty_match", "api::expand1", "api::expand2", "api::expand4", "api::expand3", "api::expand5", "api::expand6", "api::expand8", "api::expand7", "api::expand9", "api::expand_name1", "api::expand_name10", "api::expand_name2", "api::expand_name3", "api::expand_name5", "api::expand_name4", "api::expand_name11", "api::expand_name6", "api::expand_name9", "api::expand_name7", "api::expand_name8", "api::many_zero_length_match", "api::first_range_starts_with_left_bracket", "api::many_sequential_zero_length_match", "api::splitn_below_limit", "api_str::match_as_str", "api::split3", "api::regex_string", "api::split_trailing_blank", "crazy::greedy_many_optional", "api::range_ends_with_escape", "api::splitn_zero_limit", "api::sub_capture_matches", "api::split2", "crazy::greedy_one_many_optional", "api::splitn_at_limit", "crazy::lazy_one_many_many", "api::split_none", "api::split_empty", "api::split1", "api::one_zero_length_match", "crazy::greedy_one_many_many", "api_str::empty_match_unicode_find_iter", "api::splitn_empty", "crazy::greedy_range_many", "api::split_trailing_blanks", "crazy::lazy_range_many", "crazy::match_email", "api::quoted_bracket_set", "crazy::match_empty11", "crazy::match_empty16", "crazy::match_empty12", "crazy::match_empty2", "crazy::match_empty22", "crazy::match_empty13", "crazy::match_empty20", "crazy::match_empty14", "crazy::match_empty1", "api::splitn_above_limit", "crazy::lazy_many_many", "crazy::lazy_range_min_many", "api::splitn_trailing_blank", "crazy::lazy_one_many_optional", "crazy::match_email_not", "crazy::match_empty7", "crazy::ascii_literal", "api::splitn_trailing_separator", "crazy::match_empty21", "api_str::empty_match_unicode_captures_iter", "crazy::greedy_many_many", "crazy::match_float2", "crazy::lazy_many_optional", "crazy::match_empty10", "crazy::match_start_end_empty_many_1", "crazy::greedy_range_min_many", "crazy::match_empty15", "crazy::match_empty18", "crazy::match_empty23", "crazy::match_empty17", "crazy::match_empty3", "crazy::match_email_big", "crazy::match_ranges_not", "crazy::match_date1", "crazy::match_empty19", "crazy::match_empty6", "crazy::match_start_end_empty_rev", "crazy::match_empty4", "crazy::match_start_end_empty_many_2", "crazy::match_start_end_empty_rep_rev", "crazy::negclass_letters", "crazy::negclass_space_comma", "flags::match_flag_ungreedy_greedy", "crazy::negclass_ascii", "flags::match_flag_case_dotnl_toggle_ok", "flags::match_flag_case_dotnl_toggle", "crazy::match_float4", "crazy::negclass_letter_comma", "crazy::match_ranges", "flags::match_flag_case_dotnl", "flags::match_flag_ungreedy", "fowler::match_basic_10", "crazy::match_empty5", "crazy::match_empty9", "crazy::match_start_end_empty", "flags::match_flag_case_dotnl_toggle_not", "crazy::match_empty8", "fowler::match_basic_102", "fowler::match_basic_105", "crazy::match_float3", "crazy::match_float1", "crazy::negclass_letter_space", "flags::match_flag_weird_case_not", "crazy::match_start_end_empty_rep", "fowler::match_basic_113", "crazy::negclass_space", "crazy::negclass_comma", "crazy::negclass_comma_space", "flags::match_flag_case", "fowler::match_basic_115", "fowler::match_basic_116", "flags::match_flag_multi", "fowler::match_basic_110", "fowler::match_basic_114", "fowler::match_basic_123", "crazy::match_date3", "crazy::match_date2", "fowler::match_basic_106", "fowler::match_basic_121", "fowler::match_basic_125", "fowler::match_basic_100", "fowler::match_basic_129", "fowler::match_basic_104", "fowler::match_basic_101", "flags::match_flag_ungreedy_noop", "fowler::match_basic_126", "fowler::match_basic_111", "fowler::match_basic_103", "fowler::match_basic_131", "fowler::match_basic_107", "fowler::match_basic_122", "fowler::match_basic_112", "flags::match_flag_weird_case", "fowler::match_basic_138", "fowler::match_basic_134", "fowler::match_basic_137", "fowler::match_basic_141", "fowler::match_basic_118", "fowler::match_basic_109", "fowler::match_basic_12", "fowler::match_basic_119", "fowler::match_basic_147", "fowler::match_basic_108", "fowler::match_basic_117", "fowler::match_basic_120", "fowler::match_basic_158", "fowler::match_basic_133", "fowler::match_basic_124", "fowler::match_basic_128", "fowler::match_basic_16", "fowler::match_basic_160", "fowler::match_basic_148", "fowler::match_basic_140", "fowler::match_basic_157", "fowler::match_basic_162", "fowler::match_basic_155", "fowler::match_basic_149", "fowler::match_basic_165", "fowler::match_basic_150", "fowler::match_basic_132", "fowler::match_basic_161", "fowler::match_basic_135", "fowler::match_basic_139", "fowler::match_basic_145", "fowler::match_basic_15", "fowler::match_basic_153", "fowler::match_basic_18", "fowler::match_basic_146", "fowler::match_basic_144", "fowler::match_basic_159", "fowler::match_basic_17", "fowler::match_basic_142", "fowler::match_basic_151", "fowler::match_basic_154", "fowler::match_basic_166", "fowler::match_basic_156", "fowler::match_basic_170", "fowler::match_basic_152", "fowler::match_basic_178", "fowler::match_basic_173", "fowler::match_basic_169", "fowler::match_basic_172", "fowler::match_basic_180", "fowler::match_basic_168", "fowler::match_basic_164", "fowler::match_basic_167", "fowler::match_basic_181", "fowler::match_basic_188", "fowler::match_basic_175", "fowler::match_basic_163", "fowler::match_basic_19", "fowler::match_basic_197", "fowler::match_basic_193", "fowler::match_basic_194", "fowler::match_basic_186", "fowler::match_basic_191", "fowler::match_basic_199", "fowler::match_basic_185", "fowler::match_basic_177", "fowler::match_basic_176", "fowler::match_basic_171", "fowler::match_basic_204", "fowler::match_basic_196", "fowler::match_basic_183", "fowler::match_basic_190", "fowler::match_basic_174", "fowler::match_basic_189", "fowler::match_basic_187", "fowler::match_basic_179", "fowler::match_basic_202", "fowler::match_basic_192", "fowler::match_basic_218", "fowler::match_basic_198", "fowler::match_basic_213", "fowler::match_basic_217", "fowler::match_basic_216", "fowler::match_basic_207", "fowler::match_basic_209", "fowler::match_basic_184", "fowler::match_basic_221", "fowler::match_basic_20", "fowler::match_basic_182", "fowler::match_basic_195", "fowler::match_basic_29", "fowler::match_basic_201", "fowler::match_basic_200", "fowler::match_basic_205", "fowler::match_basic_203", "fowler::match_basic_37", "fowler::match_basic_21", "fowler::match_basic_212", "fowler::match_basic_36", "fowler::match_basic_208", "fowler::match_basic_210", "fowler::match_basic_206", "fowler::match_basic_38", "fowler::match_basic_4", "fowler::match_basic_22", "fowler::match_basic_41", "fowler::match_basic_30", "fowler::match_basic_48", "fowler::match_basic_219", "fowler::match_basic_215", "fowler::match_basic_23", "fowler::match_basic_220", "fowler::match_basic_3", "fowler::match_basic_49", "fowler::match_basic_32", "fowler::match_basic_214", "fowler::match_basic_35", "fowler::match_basic_45", "fowler::match_basic_25", "fowler::match_basic_27", "fowler::match_basic_5", "fowler::match_basic_211", "fowler::match_basic_26", "fowler::match_basic_28", "fowler::match_basic_24", "fowler::match_basic_33", "fowler::match_basic_7", "fowler::match_basic_34", "fowler::match_basic_68", "fowler::match_basic_47", "fowler::match_basic_55", "fowler::match_basic_73", "fowler::match_basic_46", "fowler::match_basic_67", "fowler::match_basic_39", "fowler::match_basic_56", "fowler::match_basic_44", "fowler::match_basic_42", "fowler::match_basic_43", "fowler::match_basic_40", "fowler::match_basic_54", "fowler::match_basic_70", "fowler::match_basic_58", "fowler::match_basic_88", "fowler::match_basic_77", "fowler::match_basic_78", "fowler::match_basic_6", "fowler::match_basic_66", "fowler::match_basic_51", "fowler::match_basic_50", "fowler::match_basic_59", "fowler::match_basic_65", "fowler::match_basic_76", "fowler::match_basic_87", "fowler::match_basic_72", "fowler::match_basic_57", "fowler::match_basic_69", "fowler::match_basic_52", "fowler::match_basic_53", "fowler::match_basic_85", "fowler::match_basic_80", "fowler::match_nullsubexpr_14", "fowler::match_basic_91", "fowler::match_basic_98", "fowler::match_basic_71", "fowler::match_nullsubexpr_12", "fowler::match_basic_99", "fowler::match_basic_79", "fowler::match_basic_86", "fowler::match_basic_84", "fowler::match_nullsubexpr_15", "fowler::match_basic_83", "fowler::match_basic_9", "fowler::match_nullsubexpr_25", "fowler::match_nullsubexpr_23", "fowler::match_basic_97", "fowler::match_nullsubexpr_29", "fowler::match_nullsubexpr_3", "fowler::match_nullsubexpr_10", "fowler::match_basic_81", "fowler::match_nullsubexpr_21", "fowler::match_nullsubexpr_28", "fowler::match_nullsubexpr_34", "fowler::match_basic_90", "fowler::match_basic_89", "fowler::match_basic_95", "fowler::match_basic_94", "fowler::match_basic_96", "fowler::match_basic_92", "fowler::match_basic_93", "fowler::match_nullsubexpr_24", "fowler::match_nullsubexpr_16", "fowler::match_nullsubexpr_30", "fowler::match_nullsubexpr_45", "fowler::match_nullsubexpr_11", "fowler::match_nullsubexpr_13", "fowler::match_nullsubexpr_48", "fowler::match_nullsubexpr_17", "fowler::match_nullsubexpr_18", "fowler::match_basic_74", "fowler::match_nullsubexpr_43", "fowler::match_basic_75", "fowler::match_nullsubexpr_37", "fowler::match_nullsubexpr_19", "fowler::match_nullsubexpr_7", "fowler::match_nullsubexpr_69", "fowler::match_nullsubexpr_26", "fowler::match_nullsubexpr_27", "fowler::match_nullsubexpr_5", "fowler::match_nullsubexpr_41", "fowler::match_nullsubexpr_77", "fowler::match_repetition_104", "fowler::match_nullsubexpr_32", "fowler::match_nullsubexpr_36", "fowler::match_nullsubexpr_35", "fowler::match_nullsubexpr_38", "fowler::match_nullsubexpr_33", "fowler::match_nullsubexpr_74", "fowler::match_nullsubexpr_8", "fowler::match_repetition_10", "fowler::match_nullsubexpr_46", "fowler::match_nullsubexpr_50", "fowler::match_nullsubexpr_39", "fowler::match_nullsubexpr_40", "fowler::match_nullsubexpr_42", "fowler::match_nullsubexpr_6", "fowler::match_repetition_106", "fowler::match_nullsubexpr_75", "fowler::match_nullsubexpr_78", "fowler::match_repetition_100", "fowler::match_repetition_136", "fowler::match_repetition_12", "fowler::match_nullsubexpr_70", "fowler::match_repetition_114", "fowler::match_nullsubexpr_73", "fowler::match_nullsubexpr_71", "fowler::match_repetition_115", "fowler::match_repetition_128", "fowler::match_repetition_14", "fowler::match_repetition_137", "fowler::match_nullsubexpr_79", "fowler::match_repetition_112", "fowler::match_repetition_15", "fowler::match_nullsubexpr_9", "fowler::match_repetition_150", "fowler::match_repetition_152", "fowler::match_repetition_135", "fowler::match_repetition_20", "fowler::match_repetition_18", "fowler::match_repetition_24", "fowler::match_repetition_163", "fowler::match_repetition_131", "fowler::match_repetition_130", "fowler::match_repetition_127", "fowler::match_repetition_143", "fowler::match_repetition_145", "fowler::match_repetition_11", "fowler::match_repetition_154", "fowler::match_repetition_110", "fowler::match_repetition_108", "fowler::match_repetition_16", "fowler::match_repetition_159", "fowler::match_repetition_149", "fowler::match_repetition_129", "fowler::match_repetition_126", "fowler::match_repetition_102", "fowler::match_repetition_156", "fowler::match_repetition_133", "fowler::match_repetition_22", "fowler::match_repetition_46", "fowler::match_repetition_32", "fowler::match_repetition_21", "fowler::match_repetition_147", "fowler::match_repetition_132", "fowler::match_repetition_31", "fowler::match_repetition_30", "fowler::match_repetition_44", "fowler::match_repetition_36", "fowler::match_repetition_134", "fowler::match_repetition_67", "fowler::match_repetition_57", "fowler::match_repetition_52", "fowler::match_repetition_158", "fowler::match_repetition_47", "fowler::match_repetition_59", "fowler::match_repetition_161", "fowler::match_repetition_25", "fowler::match_repetition_73", "fowler::match_repetition_26", "fowler::match_repetition_56", "fowler::match_repetition_76", "fowler::match_repetition_28", "fowler::match_repetition_35", "fowler::match_repetition_40", "fowler::match_repetition_90", "fowler::match_repetition_77", "fowler::match_repetition_38", "fowler::match_repetition_81", "fowler::match_repetition_65", "fowler::match_repetition_34", "fowler::match_repetition_95", "fowler::match_repetition_41", "fowler::match_repetition_42", "fowler::match_repetition_50", "multiline::match_multi_2", "fowler::match_repetition_94", "fowler::match_repetition_63", "fowler::match_repetition_61", "multiline::match_multi_7", "fowler::match_repetition_68", "multiline::match_multi_9", "fowler::match_repetition_53", "fowler::match_repetition_64", "fowler::match_repetition_75", "fowler::match_repetition_83", "multiline::match_multi_rep_15", "fowler::match_repetition_79", "fowler::match_repetition_80", "fowler::match_repetition_93", "multiline::match_multi_rep_3", "fowler::match_repetition_91", "fowler::match_repetition_70", "multiline::match_multi_rep_4", "fowler::match_repetition_92", "multiline::match_multi_rep_12", "multiline::match_multi_rep_8", "multiline::match_multi_4", "fowler::match_repetition_54", "fowler::match_repetition_97", "multiline::match_multi_rep_1", "noparse::fail_class_no_begin", "fowler::match_repetition_96", "fowler::match_repetition_98", "multiline::match_multi_8", "noparse::fail_class_incomplete", "multiline::match_multi_3", "multiline::match_multi_1", "noparse::fail_counted_decreasing", "multiline::match_multi_6", "multiline::match_multi_rep_11", "noparse::fail_class_no_boundary", "noparse::fail_close_paren", "multiline::match_multi_rep_5", "multiline::match_multi_5", "multiline::match_multi_rep_17", "noparse::fail_class_not_closed", "multiline::match_multi_rep_10", "noparse::fail_counted_nonnegative", "multiline::match_multi_rep_13", "multiline::match_multi_rep_2", "multiline::match_multi_rep_14", "noparse::fail_counted_no_close", "noparse::fail_bad_capture_name", "multiline::match_multi_rep_9", "multiline::match_multi_rep_16", "multiline::match_multi_rep_6", "noparse::fail_class_no_end", "noparse::fail_bad_flag", "multiline::match_multi_rep_7", "regression::anchored_prefix1", "noparse::fail_no_repeat_arg", "noparse::fail_unfinished_escape", "noparse::fail_neg_empty", "noparse::fail_range_end_no_boundary", "regression::anchored_prefix3", "regression::empty_group_match", "noparse::fail_empty_capture_name", "noparse::fail_dupe_named", "noparse::fail_hex_long_digits", "noparse::fail_range_end_no_begin", "regression::empty_group_find", "noparse::fail_incomplete_escape", "regression::anchored_prefix2", "noparse::fail_range_end_no_class", "noparse::fail_octal_digit", "noparse::fail_range_end_no_end", "regression::partial_anchor_alternate_end", "noparse::fail_invalid_range", "regression::blank_matches_nothing_between_space_and_tab", "regression::flags_are_unset", "regression::many_alternates", "noparse::fail_hex_digit", "noparse::fail_flag_bad", "noparse::fail_open_paren", "noparse::fail_flag_empty", "noparse::fail_double_neg", "noparse::fail_unfinished_cap", "regression::captures_after_dfa_premature_end1", "regression::ahocorasick1", "regression::regression_ascii_word_underscore", "noparse::fail_hex_short", "regression::captures_after_dfa_premature_end3", "regression::invalid_regexes_no_crash", "regression::captures_after_dfa_premature_end2", "regression::endl_or_wb", "regression::regression_alt_in_alt2", "regression::regression_leftmost_first_prefix", "regression::lits_unambiguous2", "regression::partial_anchor", "regression::inverted_blank_matches_everything_between_space_and_tab", "regression::partial_anchor_alternate_begin", "regression::lits_unambiguous1", "regression::regression_alt_in_alt1", "regression::literal_panic", "regression::non_greedy_question_literal", "regression::zero_or_end", "regression::strange_anchor_non_complete_suffix", "regression::regression_negated_char_class_1", "regression::regression_invalid_flags_expression", "regression::regression_bad_word_boundary", "regression::strange_anchor_non_complete_prefix", "replace::closure_returning_reference", "regression::regression_invalid_repetition_expr", "replace::impl_cow_slice_borrowed_ref", "replace::double_dollar", "regression::regression_nfa_stops1", "replace::closure_returning_value", "regression::reverse_suffix2", "regression::reverse_suffix3", "regression::regression_unsorted_binary_search_1", "regression::regression_captures_rep", "regression::word_boundary_dfa", "replace::impl_cow_str_borrowed", "regression::regression_unsorted_binary_search_2", "regression::regression_negated_char_class_2", "replace::all", "replace::impl_cow_slice_owned_ref", "replace::first", "regression::uni_case_lower_nocase_flag", "replace::impl_cow_str_owned", "regression::split_on_word_boundary", "replace::impl_string_ref", "replace::impl_vec_u8_ref", "regression::y_or_endl", "replace::replacen_no_captures", "regression::wb_start_x", "replace::literal_dollar2", "replace::number_hypen", "searcher::searcher_empty_haystack", "searcher::searcher_empty_regex", "searcher::searcher_empty_regex_empty_haystack", "regression::reverse_suffix1", "replace::plus", "replace::impl_vec_u8", "replace::impl_cow_slice_owned", "replace::capture_longest_possible_name", "replace::groups", "searcher::searcher_many_zero_length_matches", "replace::replacen_with_captures", "replace::impl_cow_slice_borrowed", "replace::single_empty_match", "replace::impl_string", "replace::simple_expand", "searcher::searcher_two_non_adjacent_matches", "searcher::searcher_unicode", "searcher::searcher_no_match", "searcher::searcher_one_match", "searcher::searcher_one_zero_length_matches", "searcher::searcher_reject_first", "searcher::searcher_two_adjacent_matches", "set::nset4", "replace::impl_cow_str_borrowed_ref", "regression::regression_unicode_perl_not_enabled", "replace::impl_cow_str_owned_ref", "replace::trim", "replace::named", "set::set3", "replace::match_at_start_replace_with_empty", "replace::literal_dollar1", "replace::no_expand2", "set::set1", "set::get_set_patterns", "replace::no_expand1", "set::set11", "set::len_and_empty", "set::setempty1", "set::set7", "set::default_set_is_empty", "set::set13", "set::set18", "set::nset1", "set::set15", "set::set4", "set::set17", "set::nset2", "set::setempty4", "set::set8", "set::nset3", "set::set5", "set::setempty6", "unicode::uni_boundary_ogham", "set::setempty2", "set::setempty9", "set::setempty7", "suffix_reverse::t06", "set::set10", "unicode::uni_case", "set::set14", "unicode::uni_boundary_none", "set::set12", "set::set6", "suffix_reverse::t04", "set::set16", "set::set2", "set::setempty5", "set::regression_subsequent_matches", "set::set9", "suffix_reverse::t02", "unicode::uni_class_gcb_prepend", "set::setempty3", "suffix_reverse::t01", "unicode::uni_class_gcb_ri2", "unicode::uni_class_gencat_cased_letter", "suffix_reverse::t03", "unicode::uni_class_gencat_dash_punctuation", "suffix_reverse::t05", "unicode::uni_class_gencat_enclosing_mark", "set::setempty8", "unicode::uni_class_gencat_initial_punctuation", "unicode::uni_class_gencat_connector_punctuation", "unicode::uni_class_gcb_ri1", "unicode::uni_class_gcb_zwj", "unicode::uni_class_gencat_close_punctuation", "unicode::uni_class_gencat_cased_letter2", "unicode::uni_class_gencat_control", "unicode::uni_class_gcb_ri3", "unicode::uni_class_gencat_currency_symbol", "unicode::uni_class_gencat_final_punctuation", "unicode::uni_class_gencat_number", "unicode::uni_class_gencat_decimal_numer", "unicode::uni_class_gencat_format_abbrev2", "unicode::uni_class_gencat_cased_letter3", "unicode::uni_class_gencat_format_abbrev3", "unicode::uni_class_gencat_other_number", "unicode::uni_class_gencat_format", "unicode::uni_case_upper_nocase_flag", "unicode::uni_class_gencat_format_abbrev1", "unicode::uni_class_gencat_private_use", "unicode::uni_class_gencat_letter_number", "unicode::uni_class_gencat_spacing_mark", "unicode::uni_class_gencat_space_separator", "unicode::uni_class_gencat_line_separator", "unicode::uni_class_gencat_other_symbol", "unicode::uni_case_upper", "unicode::uni_class_plus", "unicode::uni_class_gencat_math", "unicode::uni_class_gencat_modifier_letter", "unicode::uni_class_gencat_open_punctuation", "unicode::uni_class_gencat_modifier_symbol", "unicode::uni_class_prop_emoji1", "unicode::uni_class_prop_picto2", "unicode::uni_class_gencat_other_punctuation", "unicode::uni_class_sb3", "unicode::uni_class_wb2", "unicode::uni_class_gencat_paragraph_separator", "unicode::uni_class_gencat_titlecase_letter", "unicode::uni_class_prop_picto1", "unicode::uni_class_wb3", "unicode::uni_class_wb1", "unicode::uni_case_lower", "unicode::uni_class_gencat_separator", "unicode::uni_class_gencat_mark", "unicode::uni_class_prop_emoji2", "unicode::uni_class_gencat_symbol", "unicode::uni_class_gcb_lvt", "unicode::uni_case_upper_nocase", "unicode::uni_literal", "unicode::uni_class_gencat_punctuation", "unicode::uni_class_gencat_nonspacing_mark", "unicode::uni_perl_s_neg", "unicode::uni_perl_s", "unicode::uni_perl_d_not", "unicode::uni_class_sb4", "unicode::uni_perl_d_neg", "unicode::uni_class_wb4", "unicode::uni_class_sb5", "unicode::uni_class_gencat_uppercase_letter", "unicode::uni_class_wb5", "unicode::uni_perl_s_not", "unicode::uni_literal_plus", "unicode::uni_vithkuqi_literal_upper", "unicode::uni_not_boundary_ogham", "unicode::uni_not_boundary_none", "unicode::uni_literal_casei_plus", "unicode::uni_not_class_neg", "unicode::uni_class_gencat_other", "unicode::uni_one", "unicode::uni_perl_d", "unicode::uni_mixed", "word_boundary::nb10", "word_boundary::nb19", "word_boundary::nb13", "word_boundary::nb21", "unicode::uni_not", "word_boundary::nb17", "word_boundary::nb18", "unicode::uni_class_gencat_letter", "unicode::uni_class_gencat_lowercase_letter", "unicode::uni_class_gencat_other_letter", "word_boundary::nb27", "word_boundary::nb12", "unicode::uni_vithkuqi_literal_lower", "word_boundary::nb11", "word_boundary::nb24", "word_boundary::nb1", "unicode::uni_not_class", "word_boundary::nb15", "word_boundary::nb30", "word_boundary::nb16", "word_boundary::nb2", "word_boundary::nb3", "word_boundary::nb32", "word_boundary::nb20", "word_boundary::nb14", "word_boundary::nb29", "word_boundary::nb35", "word_boundary::nb38", "word_boundary::nb23", "word_boundary::nb37", "word_boundary::nb25", "unicode::uni_class_sb2", "word_boundary::nb22", "unicode::uni_class_sb1", "word_boundary::nb26", "word_boundary::nb8", "word_boundary::nb4", "word_boundary::nb6", "word_boundary::unicode1", "unicode::uni_perl_w_not", "word_boundary::nb31", "word_boundary::nb9", "word_boundary::nb28", "word_boundary::wb20", "word_boundary::nb33", "word_boundary::nb34", "word_boundary::nb36", "word_boundary::unicode2", "word_boundary::nb39", "word_boundary::nb5", "word_boundary::wb18", "word_boundary::wb1", "word_boundary::nb7", "word_boundary::wb12", "word_boundary::wb14", "word_boundary::wb10", "word_boundary::wb3", "word_boundary::wb28", "word_boundary::wb11", "word_boundary::wb15", "word_boundary::wb13", "word_boundary::wb26", "word_boundary::wb2", "word_boundary::wb16", "word_boundary::wb17", "word_boundary::wb19", "word_boundary::wb37", "word_boundary::wb21", "word_boundary::wb36", "word_boundary::wb41", "word_boundary::wb40", "word_boundary::wb5", "unicode::uni_class_gencat_unassigned", "word_boundary::wb22", "word_boundary::wb23", "word_boundary::wb24", "word_boundary::wb25", "word_boundary::wb29", "word_boundary::wb4", "word_boundary::wb27", "unicode::uni_perl_w_neg", "word_boundary::wb7", "word_boundary::wb6", "word_boundary_unicode::ascii1", "word_boundary::wb35", "word_boundary::wb30", "word_boundary::wb38", "word_boundary::wb31", "unicode::uni_vithkuqi_word_upper", "word_boundary::wb32", "word_boundary::wb33", "word_boundary::wb34", "word_boundary::wb39", "word_boundary_unicode::unicode1", "word_boundary::wb8", "word_boundary::wb9", "word_boundary_unicode::unicode2", "crazy::nest_limit_makes_it_parse", "unicode::uni_perl_w", "unicode::uni_vithkuqi_word_lower", "crazy::dfa_handles_pathological_case", "regression::regression_many_repeat_stack_overflow", "noparse::fail_too_big", "regression::regression_big_regex_overflow", "bytes::case_unicode", "bytes::case_ascii_one", "bytes::word_boundary_ascii1", "bytes::case_not_unicode", "bytes::perl_s_unicode", "bytes::dotstar_prefix_not_unicode1", "bytes::invalidutf8_anchor2", "bytes::word_not_boundary_unicode", "bytes::ascii_boundary_capture", "bytes::dotstar_prefix_not_unicode2", "bytes::negate_unicode", "bytes::word_not_boundary", "bytes::invalidutf8_anchor3", "bytes::case_ascii_class", "bytes::negate_not_unicode", "bytes::negated_full_byte_range", "bytes::ascii_boundary_no_capture", "bytes::end_not_wb", "bytes::invalidutf8_anchor1", "bytes::word_boundary_ascii2", "bytes::word_boundary_unicode", "bytes::null_bytes", "bytes::perl_d_ascii", "bytes::perl_w_ascii", "bytes::perl_s_ascii", "bytes::mixed1", "bytes::word_boundary", "bytes::perl_d_unicode", "bytes::perl_w_unicode", "word_boundary_ascii::unicode2", "word_boundary_ascii::ascii1", "word_boundary_ascii::ascii2", "word_boundary_ascii::ascii3", "word_boundary_ascii::unicode1", "crates_regex::actix_web_1", "crates_regex::actix_web_0", "crates_regex::aerial_0", "crates_regex::aerial_1", "crates_regex::afsort_0", "crates_regex::afsort_1", "crates_regex::afsort_2", "crates_regex::afsort_3", "crates_regex::afsort_4", "crates_regex::afsort_5", "crates_regex::afsort_6", "crates_regex::afsort_7", "crates_regex::airkorea_1", "crates_regex::airkorea_0", "crates_regex::airkorea_2", "crates_regex::alcibiades_0", "crates_regex::althea_kernel_interface_0", "crates_regex::althea_kernel_interface_1", "crates_regex::amethyst_tools_0", "crates_regex::amigo_0", "crates_regex::amigo_1", "crates_regex::amigo_2", "crates_regex::amigo_3", "crates_regex::amigo_4", "crates_regex::arpabet_0", "crates_regex::arpabet_1", "crates_regex::arthas_derive_0", "crates_regex::arthas_derive_1", "crates_regex::arthas_derive_2", "crates_regex::arthas_plugin_0", "crates_regex::arthas_plugin_1", "crates_regex::arthas_plugin_2", "crates_regex::arthas_plugin_3", "crates_regex::article_date_extractor_0", "crates_regex::article_date_extractor_1", "crates_regex::askalono_0", "crates_regex::askalono_1", "crates_regex::askalono_10", "crates_regex::askalono_2", "crates_regex::askalono_3", "crates_regex::askalono_4", "crates_regex::askalono_5", "crates_regex::askalono_6", "crates_regex::askalono_7", "crates_regex::askalono_8", "crates_regex::askalono_9", "crates_regex::assembunny_plus_0", "crates_regex::assembunny_plus_1", "crates_regex::atarashii_imap_0", "crates_regex::atarashii_imap_1", "crates_regex::atarashii_imap_2", "crates_regex::atarashii_imap_3", "crates_regex::atarashii_imap_4", "crates_regex::atarashii_imap_5", "crates_regex::atarashii_imap_6", "crates_regex::atarashii_imap_7", "crates_regex::aterm_0", "crates_regex::aterm_1", "crates_regex::autoshutdown_0", "crates_regex::avm_0", "crates_regex::avm_1", "crates_regex::avro_0", "crates_regex::avro_1", "crates_regex::bakervm_0", "crates_regex::bakervm_1", "crates_regex::bakervm_10", "crates_regex::bakervm_2", "crates_regex::bakervm_3", "crates_regex::bakervm_4", "crates_regex::bakervm_5", "crates_regex::bakervm_6", "crates_regex::bakervm_7", "crates_regex::bakervm_8", "crates_regex::bakervm_9", "crates_regex::banana_0", "crates_regex::bbcode_0", "crates_regex::bbcode_1", "crates_regex::bbcode_10", "crates_regex::bbcode_11", "crates_regex::bbcode_12", "crates_regex::bbcode_13", "crates_regex::bbcode_14", "crates_regex::bbcode_15", "crates_regex::bbcode_16", "crates_regex::bbcode_17", "crates_regex::bbcode_18", "crates_regex::bbcode_19", "crates_regex::bbcode_2", "crates_regex::bbcode_20", "crates_regex::bbcode_21", "crates_regex::bbcode_22", "crates_regex::bbcode_23", "crates_regex::bbcode_24", "crates_regex::bbcode_25", "crates_regex::bbcode_3", "crates_regex::bbcode_4", "crates_regex::bbcode_5", "crates_regex::bbcode_6", "crates_regex::bbcode_7", "crates_regex::bbcode_8", "crates_regex::bbcode_9", "crates_regex::bindgen_0", "crates_regex::block_utils_0", "crates_regex::block_utils_1", "crates_regex::block_utils_2", "crates_regex::bobbin_cli_0", "crates_regex::bobbin_cli_1", "crates_regex::bobbin_cli_2", "crates_regex::bobbin_cli_3", "crates_regex::bobbin_cli_4", "crates_regex::bobbin_cli_5", "crates_regex::bobbin_cli_6", "crates_regex::bobbin_cli_7", "crates_regex::bobbin_cli_8", "crates_regex::bobbin_cli_9", "crates_regex::borsholder_0", "crates_regex::borsholder_1", "crates_regex::bullet_core_0", "crates_regex::bullet_core_1", "crates_regex::bullet_core_10", "crates_regex::bullet_core_11", "crates_regex::bullet_core_12", "crates_regex::bullet_core_13", "crates_regex::bullet_core_14", "crates_regex::bullet_core_2", "crates_regex::bullet_core_3", "crates_regex::bullet_core_4", "crates_regex::bullet_core_5", "crates_regex::bullet_core_6", "crates_regex::bullet_core_7", "crates_regex::bullet_core_8", "crates_regex::bullet_core_9", "crates_regex::cabot_0", "crates_regex::cabot_1", "crates_regex::canteen_0", "crates_regex::card_validate_0", "crates_regex::card_validate_1", "crates_regex::card_validate_2", "crates_regex::card_validate_3", "crates_regex::card_validate_4", "crates_regex::card_validate_5", "crates_regex::card_validate_6", "crates_regex::card_validate_7", "crates_regex::card_validate_8", "crates_regex::card_validate_9", "crates_regex::cargo_brew_0", "crates_regex::cargo_coverage_annotations_0", "crates_regex::cargo_culture_kit_0", "crates_regex::cargo_demangle_0", "crates_regex::cargo_disassemble_0", "crates_regex::cargo_edit_0", "crates_regex::cargo_edit_1", "crates_regex::cargo_incremental_0", "crates_regex::cargo_incremental_1", "crates_regex::cargo_incremental_2", "crates_regex::cargo_incremental_3", "crates_regex::cargo_release_0", "crates_regex::cargo_release_1", "crates_regex::cargo_screeps_0", "crates_regex::cargo_script_0", "crates_regex::cargo_script_1", "crates_regex::cargo_script_2", "crates_regex::cargo_script_3", "crates_regex::cargo_script_4", "crates_regex::cargo_tarpaulin_0", "crates_regex::cargo_tarpaulin_1", "crates_regex::cargo_tarpaulin_2", "crates_regex::cargo_testify_0", "crates_regex::cargo_testify_1", "crates_regex::cargo_testjs_0", "crates_regex::cargo_update_0", "crates_regex::cargo_urlcrate_0", "crates_regex::cargo_wix_0", "crates_regex::cargo_wix_1", "crates_regex::cargo_wix_2", "crates_regex::cargo_wix_3", "crates_regex::carnix_0", "crates_regex::carnix_1", "crates_regex::carnix_2", "crates_regex::carnix_3", "crates_regex::caseless_0", "crates_regex::caseless_1", "crates_regex::cdbd_0", "crates_regex::cellsplit_0", "crates_regex::cellsplit_1", "crates_regex::checkmail_0", "crates_regex::chema_0", "crates_regex::chema_1", "crates_regex::chord3_0", "crates_regex::chord3_1", "crates_regex::chord3_2", "crates_regex::chord3_3", "crates_regex::cicada_0", "crates_regex::cicada_1", "crates_regex::cicada_2", "crates_regex::cicada_3", "crates_regex::cicada_4", "crates_regex::cifar_10_loader_0", "crates_regex::cifar_10_loader_1", "crates_regex::circadian_0", "crates_regex::circadian_1", "crates_regex::circadian_2", "crates_regex::clam_0", "crates_regex::classifier_0", "crates_regex::claude_0", "crates_regex::click_0", "crates_regex::click_1", "crates_regex::cniguru_0", "crates_regex::cntk_0", "crates_regex::cntk_1", "crates_regex::cobalt_bin_0", "crates_regex::codeowners_0", "crates_regex::codeowners_1", "crates_regex::codeowners_2", "crates_regex::colorizex_0", "crates_regex::colorstring_0", "crates_regex::colorstring_1", "crates_regex::commodore_0", "crates_regex::comrak_0", "crates_regex::conserve_0", "crates_regex::content_blocker_0", "crates_regex::content_blocker_1", "crates_regex::content_blocker_10", "crates_regex::content_blocker_11", "crates_regex::content_blocker_12", "crates_regex::content_blocker_13", "crates_regex::content_blocker_2", "crates_regex::content_blocker_3", "crates_regex::content_blocker_4", "crates_regex::content_blocker_5", "crates_regex::content_blocker_6", "crates_regex::content_blocker_7", "crates_regex::content_blocker_8", "crates_regex::content_blocker_9", "crates_regex::corollary_0", "crates_regex::corollary_1", "crates_regex::cosmogony_0", "crates_regex::cpp_to_rust_0", "crates_regex::cpp_to_rust_1", "crates_regex::cpp_to_rust_2", "crates_regex::cpp_to_rust_3", "crates_regex::cpp_to_rust_4", "crates_regex::cpp_to_rust_5", "crates_regex::cpp_to_rust_generator_0", "crates_regex::cpp_to_rust_generator_1", "crates_regex::cpp_to_rust_generator_2", "crates_regex::cpp_to_rust_generator_3", "crates_regex::cpp_to_rust_generator_4", "crates_regex::cpp_to_rust_generator_5", "crates_regex::cron_rs_0", "crates_regex::d20_0", "crates_regex::dash2html_0", "crates_regex::dash2html_1", "crates_regex::db_accelerate_0", "crates_regex::db_accelerate_1", "crates_regex::deb_version_0", "crates_regex::debcargo_0", "crates_regex::debcargo_1", "crates_regex::diesel_cli_0", "crates_regex::dishub_0", "crates_regex::djangohashers_0", "crates_regex::dok_0", "crates_regex::dono_0", "crates_regex::dono_1", "crates_regex::dono_2", "crates_regex::drill_0", "crates_regex::duration_parser_0", "crates_regex::dutree_0", "crates_regex::dvb_0", "crates_regex::dvb_1", "crates_regex::dvb_2", "crates_regex::editorconfig_0", "crates_regex::editorconfig_1", "crates_regex::editorconfig_2", "crates_regex::editorconfig_3", "crates_regex::editorconfig_4", "crates_regex::editorconfig_5", "crates_regex::editorconfig_6", "crates_regex::editorconfig_7", "crates_regex::editorconfig_8", "crates_regex::edmunge_0", "crates_regex::egc_0", "crates_regex::egg_mode_text_0", "crates_regex::eliza_0", "crates_regex::eliza_1", "crates_regex::eliza_2", "crates_regex::emojicons_0", "crates_regex::emote_0", "crates_regex::epub_0", "crates_regex::ethcore_logger_0", "crates_regex::evalrs_0", "crates_regex::evalrs_1", "crates_regex::evalrs_2", "crates_regex::evalrs_3", "crates_regex::eve_0", "crates_regex::extrahop_0", "crates_regex::faker_0", "crates_regex::faker_1", "crates_regex::faker_10", "crates_regex::faker_11", "crates_regex::faker_2", "crates_regex::faker_3", "crates_regex::faker_4", "crates_regex::faker_5", "crates_regex::faker_6", "crates_regex::faker_7", "crates_regex::faker_8", "crates_regex::faker_9", "crates_regex::fancy_prompt_0", "crates_regex::fancy_prompt_1", "crates_regex::fancy_regex_0", "crates_regex::fancy_regex_1", "crates_regex::fancy_regex_2", "crates_regex::fanta_0", "crates_regex::fanta_cli_0", "crates_regex::fanta_cli_1", "crates_regex::fblog_0", "crates_regex::fblog_1", "crates_regex::feaders_0", "crates_regex::feaders_1", "crates_regex::feaders_2", "crates_regex::feaders_3", "crates_regex::feaders_4", "crates_regex::file_logger_0", "crates_regex::file_scanner_0", "crates_regex::file_scanner_1", "crates_regex::file_scanner_2", "crates_regex::file_scanner_3", "crates_regex::file_scanner_4", "crates_regex::file_sniffer_0", "crates_regex::file_sniffer_1", "crates_regex::file_sniffer_2", "crates_regex::file_sniffer_3", "crates_regex::file_sniffer_4", "crates_regex::findr_0", "crates_regex::findr_1", "crates_regex::findr_2", "crates_regex::flow_0", "crates_regex::flow_1", "crates_regex::flow_2", "crates_regex::flow_3", "crates_regex::form_checker_0", "crates_regex::form_checker_1", "crates_regex::fractal_matrix_api_0", "crates_regex::fritzbox_logs_0", "crates_regex::fselect_0", "crates_regex::fs_eventbridge_0", "crates_regex::fselect_1", "crates_regex::ftp_0", "crates_regex::ftp_1", "crates_regex::ftp_2", "crates_regex::fungi_lang_0", "crates_regex::gate_build_0", "crates_regex::genact_0", "crates_regex::genact_1", "crates_regex::generate_nix_pkg_0", "crates_regex::generate_nix_pkg_1", "crates_regex::generic_dns_update_0", "crates_regex::generic_dns_update_1", "crates_regex::generic_dns_update_2", "crates_regex::generic_dns_update_3", "crates_regex::generic_dns_update_4", "crates_regex::generic_dns_update_5", "crates_regex::geochunk_0", "crates_regex::ger_0", "crates_regex::ger_1", "crates_regex::ggp_rs_0", "crates_regex::ggp_rs_1", "crates_regex::git2_codecommit_0", "crates_regex::git_find_0", "crates_regex::git_journal_0", "crates_regex::git_shell_enforce_directory_0", "crates_regex::git_workarea_0", "crates_regex::gitlab_api_0", "crates_regex::gl_helpers_0", "crates_regex::gl_helpers_1", "crates_regex::glossy_codegen_0", "crates_regex::glossy_codegen_1", "crates_regex::glossy_codegen_2", "crates_regex::glossy_codegen_3", "crates_regex::glossy_codegen_4", "crates_regex::glr_parser_0", "crates_regex::glr_parser_1", "crates_regex::glr_parser_2", "crates_regex::gluster_0", "crates_regex::gluster_1", "crates_regex::government_id_0", "crates_regex::graphql_idl_parser_0", "crates_regex::graphql_idl_parser_1", "crates_regex::graphql_idl_parser_10", "crates_regex::graphql_idl_parser_11", "crates_regex::graphql_idl_parser_12", "crates_regex::graphql_idl_parser_13", "crates_regex::graphql_idl_parser_14", "crates_regex::graphql_idl_parser_15", "crates_regex::graphql_idl_parser_16", "crates_regex::graphql_idl_parser_17", "crates_regex::graphql_idl_parser_18", "crates_regex::graphql_idl_parser_19", "crates_regex::graphql_idl_parser_2", "crates_regex::graphql_idl_parser_3", "crates_regex::graphql_idl_parser_4", "crates_regex::graphql_idl_parser_5", "crates_regex::graphql_idl_parser_6", "crates_regex::graphql_idl_parser_7", "crates_regex::graphql_idl_parser_8", "crates_regex::graphql_idl_parser_9", "crates_regex::grimoire_0", "crates_regex::haikunator_0", "crates_regex::haikunator_1", "crates_regex::haikunator_2", "crates_regex::haikunator_3", "crates_regex::haikunator_4", "crates_regex::haikunator_5", "crates_regex::haikunator_6", "crates_regex::handlebars_0", "crates_regex::hoodlum_0", "crates_regex::html2md_0", "crates_regex::html2md_1", "crates_regex::html2md_2", "crates_regex::html2md_3", "crates_regex::hueclient_0", "crates_regex::hueclient_1", "crates_regex::hueclient_2", "crates_regex::hueclient_3", "crates_regex::hyperscan_0", "crates_regex::hyperscan_1", "crates_regex::hyperscan_2", "crates_regex::hyperscan_3", "crates_regex::iban_validate_0", "crates_regex::ignore_0", "crates_regex::image_base64_0", "crates_regex::image_base64_1", "crates_regex::image_base64_2", "crates_regex::imap_0", "crates_regex::indradb_lib_0", "crates_regex::ipaddress_0", "crates_regex::ipaddress_1", "crates_regex::ipaddress_2", "crates_regex::iptables_0", "crates_regex::isbnid_0", "crates_regex::isbnid_1", "crates_regex::ispc_0", "crates_regex::java_properties_0", "crates_regex::java_properties_1", "crates_regex::java_properties_2", "crates_regex::jieba_rs_0", "crates_regex::jieba_rs_1", "crates_regex::jieba_rs_2", "crates_regex::jieba_rs_3", "crates_regex::jieba_rs_4", "crates_regex::jieba_rs_5", "crates_regex::joseki_0", "crates_regex::json_pointer_0", "crates_regex::json_pointer_1", "crates_regex::just_0", "crates_regex::kailua_syntax_0", "crates_regex::kailua_syntax_1", "crates_regex::karaconv_0", "crates_regex::katana_0", "crates_regex::katana_1", "crates_regex::katana_10", "crates_regex::katana_11", "crates_regex::katana_12", "crates_regex::katana_2", "crates_regex::katana_3", "crates_regex::katana_4", "crates_regex::katana_5", "crates_regex::katana_6", "crates_regex::katana_7", "crates_regex::katana_8", "crates_regex::katana_9", "crates_regex::kbgpg_0", "crates_regex::kefia_0", "crates_regex::kryptos_0", "crates_regex::kvvliveapi_0", "crates_regex::lalrpop_0", "crates_regex::lalrpop_snap_0", "crates_regex::libimaginteraction_0", "crates_regex::libimagentrytag_0", "crates_regex::libimaginteraction_1", "crates_regex::libimagutil_0", "crates_regex::libimagutil_1", "crates_regex::limonite_0", "crates_regex::linky_0", "crates_regex::linky_1", "crates_regex::linux_ip_0", "crates_regex::linux_ip_1", "crates_regex::linux_ip_2", "crates_regex::linux_ip_3", "crates_regex::linux_ip_4", "crates_regex::linux_ip_5", "crates_regex::linux_ip_6", "crates_regex::linux_ip_7", "crates_regex::linux_ip_8", "crates_regex::linux_ip_9", "crates_regex::lit_0", "crates_regex::lit_1", "crates_regex::lit_2", "crates_regex::little_boxes_0", "crates_regex::lorikeet_0", "crates_regex::luther_0", "crates_regex::magnet_app_0", "crates_regex::magnet_more_0", "crates_regex::mallumo_0", "crates_regex::mallumo_1", "crates_regex::mallumo_2", "crates_regex::markifier_0", "crates_regex::mbutiles_0", "crates_regex::media_filename_0", "crates_regex::media_filename_1", "crates_regex::media_filename_2", "crates_regex::media_filename_3", "crates_regex::media_filename_4", "crates_regex::media_filename_5", "crates_regex::media_filename_6", "crates_regex::media_filename_7", "crates_regex::media_filename_8", "crates_regex::media_filename_9", "crates_regex::migrant_lib_0", "crates_regex::migrant_lib_1", "crates_regex::migrant_lib_2", "crates_regex::minifier_0", "crates_regex::minifier_1", "crates_regex::minifier_2", "crates_regex::minifier_3", "crates_regex::minifier_4", "crates_regex::minifier_5", "crates_regex::minifier_6", "crates_regex::minifier_7", "crates_regex::minifier_8", "crates_regex::minipre_0", "crates_regex::mob_0", "crates_regex::monger_0", "crates_regex::mongo_rub_0", "crates_regex::mozversion_0", "crates_regex::multirust_rs_0", "crates_regex::mysql_common_0", "crates_regex::mysql_common_1", "crates_regex::n5_0", "crates_regex::nail_0", "crates_regex::nail_1", "crates_regex::nereon_0", "crates_regex::next_episode_0", "crates_regex::nginx_config_0", "crates_regex::nickel_0", "crates_regex::nickel_1", "crates_regex::nlp_tokenize_0", "crates_regex::nodes_0", "crates_regex::nomi_0", "crates_regex::not_stakkr_0", "crates_regex::notetxt_0", "crates_regex::numbat_0", "crates_regex::oatie_0", "crates_regex::ohmers_0", "crates_regex::ommui_string_patterns_0", "crates_regex::ommui_string_patterns_1", "crates_regex::opcua_types_0", "crates_regex::opcua_types_1", "crates_regex::open_read_later_0", "crates_regex::orm_0", "crates_regex::os_type_0", "crates_regex::os_type_1", "crates_regex::os_type_2", "crates_regex::os_type_3", "crates_regex::os_type_4", "crates_regex::os_type_5", "crates_regex::os_type_6", "crates_regex::os_type_7", "crates_regex::ovpnfile_0", "crates_regex::ovpnfile_1", "crates_regex::ovpnfile_2", "crates_regex::pact_matching_0", "crates_regex::pact_matching_1", "crates_regex::pact_matching_2", "crates_regex::pact_verifier_0", "crates_regex::pangu_0", "crates_regex::pangu_1", "crates_regex::parser_haskell_0", "crates_regex::parser_haskell_1", "crates_regex::parser_haskell_2", "crates_regex::parser_haskell_3", "crates_regex::parser_haskell_4", "crates_regex::pew_0", "crates_regex::pew_1", "crates_regex::phile_0", "crates_regex::phile_1", "crates_regex::phile_2", "crates_regex::phone_number_0", "crates_regex::phone_number_1", "crates_regex::phone_number_2", "crates_regex::phone_number_3", "crates_regex::phonenumber_0", "crates_regex::phonenumber_1", "crates_regex::phonenumber_2", "crates_regex::phonenumber_3", "crates_regex::phonenumber_4", "crates_regex::phonenumber_5", "crates_regex::phonenumber_6", "crates_regex::phonenumber_7", "crates_regex::pinyin_0", "crates_regex::pinyin_1", "crates_regex::pippin_0", "crates_regex::pippin_1", "crates_regex::pippin_2", "crates_regex::pippin_3", "crates_regex::pippin_4", "crates_regex::pippin_5", "crates_regex::pleingres_sql_plugin_0", "crates_regex::pnet_macros_0", "crates_regex::po_0", "crates_regex::poe_superfilter_0", "crates_regex::poke_a_mango_0", "crates_regex::polk_0", "crates_regex::pop3_0", "crates_regex::pop3_1", "crates_regex::pop3_2", "crates_regex::pop3_3", "crates_regex::pop3_4", "crates_regex::pop3_5", "crates_regex::pop3_6", "crates_regex::pop3_7", "crates_regex::pop3_rs_0", "crates_regex::pop3_rs_1", "crates_regex::pop3_rs_2", "crates_regex::pop3_rs_3", "crates_regex::process_queue_0", "crates_regex::pronghorn_0", "crates_regex::protocol_ftp_client_0", "crates_regex::protocol_ftp_client_1", "crates_regex::protocol_ftp_client_2", "crates_regex::protocol_ftp_client_3", "crates_regex::protocol_ftp_client_4", "crates_regex::protocol_ftp_client_5", "crates_regex::protocol_ftp_client_6", "crates_regex::pusher_0", "crates_regex::pusher_1", "crates_regex::qasm_0", "crates_regex::qt_generator_0", "crates_regex::qt_generator_1", "crates_regex::queryst_0", "crates_regex::queryst_1", "crates_regex::qui_vive_0", "crates_regex::qui_vive_1", "crates_regex::qui_vive_2", "crates_regex::qui_vive_3", "crates_regex::qui_vive_4", "crates_regex::qui_vive_6", "crates_regex::qui_vive_5", "crates_regex::rafy_0", "crates_regex::rake_0", "crates_regex::rargs_0", "crates_regex::rargs_1", "crates_regex::rargs_2", "crates_regex::rargs_3", "crates_regex::rargs_4", "crates_regex::raven_0", "crates_regex::reaper_0", "crates_regex::recursive_disassembler_0", "crates_regex::regex_cache_0", "crates_regex::regex_cache_1", "crates_regex::regex_cache_2", "crates_regex::regex_cache_3", "crates_regex::regex_cache_4", "crates_regex::regex_decode_0", "crates_regex::regex_decode_1", "crates_regex::regex_decode_10", "crates_regex::regex_decode_11", "crates_regex::regex_decode_12", "crates_regex::regex_decode_13", "crates_regex::regex_decode_2", "crates_regex::regex_decode_3", "crates_regex::regex_decode_4", "crates_regex::regex_decode_5", "crates_regex::regex_decode_6", "crates_regex::regex_decode_7", "crates_regex::regex_decode_8", "crates_regex::regex_decode_9", "crates_regex::regex_dfa_0", "crates_regex::remake_0", "crates_regex::renvsubst_0", "crates_regex::renvsubst_1", "crates_regex::renvsubst_2", "crates_regex::retdec_0", "crates_regex::rexpect_0", "crates_regex::rexpect_1", "crates_regex::rexpect_2", "crates_regex::rfc822_sanitizer_0", "crates_regex::rfc822_sanitizer_1", "crates_regex::ripgrep_0", "crates_regex::riquid_0", "crates_regex::riquid_1", "crates_regex::risp_0", "crates_regex::risp_1", "crates_regex::risp_2", "crates_regex::risp_3", "crates_regex::rogcat_0", "crates_regex::rogcat_1", "crates_regex::rogcat_2", "crates_regex::rpi_info_0", "crates_regex::rpi_info_1", "crates_regex::rs_jsonpath_0", "crates_regex::rsure_0", "crates_regex::rtag_0", "crates_regex::rtag_1", "crates_regex::rtag_2", "crates_regex::rtag_3", "crates_regex::rtow_0", "crates_regex::ruma_identifiers_0", "crates_regex::rumblebars_0", "crates_regex::rumblebars_1", "crates_regex::rumblebars_2", "crates_regex::rumblebars_3", "crates_regex::rumblebars_4", "crates_regex::rural_1", "crates_regex::rural_0", "crates_regex::rural_2", "crates_regex::rural_3", "crates_regex::rusoto_credential_0", "crates_regex::rusqbin_0", "crates_regex::rusqbin_1", "crates_regex::rust_enum_derive_0", "crates_regex::rust_enum_derive_1", "crates_regex::rust_enum_derive_2", "crates_regex::rust_enum_derive_3", "crates_regex::rust_inbox_0", "crates_regex::rust_inbox_1", "crates_regex::rust_inbox_2", "crates_regex::rust_inbox_3", "crates_regex::rust_inbox_4", "crates_regex::rust_inbox_5", "crates_regex::rust_inbox_6", "crates_regex::rust_inbox_7", "crates_regex::rust_inbox_8", "crates_regex::rust_inbox_9", "crates_regex::rust_install_0", "crates_regex::rustache_0", "crates_regex::rustache_lists_0", "crates_regex::rustfilt_0", "crates_regex::rustfmt_0", "crates_regex::rustfmt_core_0", "crates_regex::rustfmt_core_1", "crates_regex::rustfmt_core_2", "crates_regex::rustfmt_core_3", "crates_regex::rustfmt_nightly_0", "crates_regex::rustfmt_nightly_1", "crates_regex::rustml_0", "crates_regex::rustml_1", "crates_regex::rustml_2", "crates_regex::rustsourcebundler_0", "crates_regex::rustsourcebundler_1", "crates_regex::rvsim_0", "crates_regex::rvue_0", "crates_regex::rvue_1", "crates_regex::rvue_2", "crates_regex::rvue_3", "crates_regex::rvue_4", "crates_regex::sabisabi_0", "crates_regex::sabisabi_1", "crates_regex::salt_compressor_0", "crates_regex::sassers_0", "crates_regex::scarlet_0", "crates_regex::screenruster_saver_fractal_0", "crates_regex::sentiment_0", "crates_regex::sentiment_1", "crates_regex::sentry_0", "crates_regex::serde_hjson_0", "crates_regex::serde_hjson_1", "crates_regex::serde_hjson_2", "crates_regex::serial_key_0", "crates_regex::sgf_0", "crates_regex::sgf_1", "crates_regex::sgf_2", "crates_regex::sgf_3", "crates_regex::serde_odbc_0", "crates_regex::shadowsocks_0", "crates_regex::shellwords_0", "crates_regex::shellwords_1", "crates_regex::shkeleton_0", "crates_regex::shush_0", "crates_regex::skim_0", "crates_regex::skim_1", "crates_regex::skim_10", "crates_regex::skim_11", "crates_regex::skim_12", "crates_regex::skim_2", "crates_regex::skim_3", "crates_regex::skim_5", "crates_regex::skim_4", "crates_regex::skim_6", "crates_regex::skim_7", "crates_regex::skim_8", "crates_regex::skim_9", "crates_regex::slippy_map_tiles_0", "crates_regex::slippy_map_tiles_1", "crates_regex::slippy_map_tiles_2", "crates_regex::smtp2go_0", "crates_regex::sonos_0", "crates_regex::space_email_api_0", "crates_regex::spaceslugs_0", "crates_regex::spaceslugs_1", "crates_regex::spaceslugs_2", "crates_regex::spaceslugs_3", "crates_regex::split_aud_0", "crates_regex::split_aud_1", "crates_regex::spotrust_0", "crates_regex::spreadsheet_textconv_0", "crates_regex::spreadsheet_textconv_2", "crates_regex::spreadsheet_textconv_1", "crates_regex::ssb_common_0", "crates_regex::ssb_common_1", "crates_regex::ssb_common_2", "crates_regex::stache_0", "crates_regex::steamid_ng_0", "crates_regex::steamid_ng_1", "crates_regex::sterling_0", "crates_regex::strscan_0", "crates_regex::strscan_1", "crates_regex::strscan_2", "crates_regex::strscan_3", "crates_regex::strscan_4", "crates_regex::strukt_0", "crates_regex::substudy_0", "crates_regex::substudy_1", "crates_regex::substudy_2", "crates_regex::substudy_3", "crates_regex::substudy_4", "crates_regex::svgrep_0", "crates_regex::symbolic_debuginfo_0", "crates_regex::symbolic_minidump_0", "crates_regex::systemfd_0", "crates_regex::td_client_0", "crates_regex::teensy_0", "crates_regex::telescreen_0", "crates_regex::tempus_fugit_0", "crates_regex::termimage_0", "crates_regex::thieves_cant_0", "crates_regex::thruster_cli_0", "crates_regex::tight_0", "crates_regex::tight_1", "crates_regex::timespan_0", "crates_regex::timespan_1", "crates_regex::timespan_2", "crates_regex::timespan_3", "crates_regex::timespan_4", "crates_regex::timmy_1", "crates_regex::timmy_0", "crates_regex::timmy_2", "crates_regex::timmy_3", "crates_regex::timmy_4", "crates_regex::tin_drummer_0", "crates_regex::tin_drummer_1", "crates_regex::tin_drummer_2", "crates_regex::tin_drummer_3", "crates_regex::tin_drummer_4", "crates_regex::tin_drummer_5", "crates_regex::tin_drummer_6", "crates_regex::tin_drummer_7", "crates_regex::tin_summer_0", "crates_regex::tinfo_0", "crates_regex::tinfo_1", "crates_regex::titlecase_0", "crates_regex::tk_carbon_0", "crates_regex::tk_carbon_1", "crates_regex::todo_txt_0", "crates_regex::toml_query_0", "crates_regex::tsm_sys_0", "crates_regex::tweetr_0", "crates_regex::ubiquity_0", "crates_regex::ubiquity_1", "crates_regex::ubiquity_2", "crates_regex::ucd_parse_0", "crates_regex::ultrastar_txt_0", "crates_regex::ultrastar_txt_1", "crates_regex::ultrastar_txt_2", "crates_regex::ultrastar_txt_3", "crates_regex::ultrastar_txt_4", "crates_regex::unicode_names2_macros_0", "crates_regex::unidiff_0", "crates_regex::unidiff_1", "crates_regex::unidiff_2", "crates_regex::unidiff_3", "crates_regex::upm_lib_0", "crates_regex::urdf_rs_0", "crates_regex::uritemplate_0", "crates_regex::url_match_0", "crates_regex::url_match_1", "crates_regex::validator_derive_0", "crates_regex::validator_derive_1", "crates_regex::validator_derive_2", "crates_regex::vat_0", "crates_regex::vat_1", "crates_regex::vat_10", "crates_regex::vat_11", "crates_regex::vat_12", "crates_regex::vat_13", "crates_regex::vat_14", "crates_regex::vat_15", "crates_regex::vat_16", "crates_regex::vat_17", "crates_regex::vat_18", "crates_regex::vat_19", "crates_regex::vat_2", "crates_regex::vat_20", "crates_regex::vat_21", "crates_regex::vat_22", "crates_regex::vat_23", "crates_regex::vat_24", "crates_regex::vat_25", "crates_regex::vat_26", "crates_regex::vat_27", "crates_regex::vat_28", "crates_regex::vat_29", "crates_regex::vat_3", "crates_regex::vat_30", "crates_regex::vat_31", "crates_regex::vat_32", "crates_regex::vat_4", "crates_regex::vat_5", "crates_regex::vat_6", "crates_regex::vat_7", "crates_regex::vat_8", "crates_regex::vat_9", "crates_regex::verex_0", "crates_regex::verilog_0", "crates_regex::victoria_dom_0", "crates_regex::vobsub_0", "crates_regex::voidmap_0", "crates_regex::voidmap_1", "crates_regex::voidmap_10", "crates_regex::voidmap_11", "crates_regex::voidmap_12", "crates_regex::voidmap_13", "crates_regex::voidmap_14", "crates_regex::voidmap_15", "crates_regex::voidmap_16", "crates_regex::voidmap_17", "crates_regex::voidmap_18", "crates_regex::voidmap_19", "crates_regex::voidmap_2", "crates_regex::voidmap_3", "crates_regex::voidmap_4", "crates_regex::voidmap_5", "crates_regex::voidmap_6", "crates_regex::voidmap_7", "crates_regex::voidmap_8", "crates_regex::voidmap_9", "crates_regex::vterm_sys_0", "crates_regex::waltz_0", "crates_regex::warheadhateus_0", "crates_regex::warheadhateus_1", "crates_regex::warheadhateus_2", "crates_regex::warheadhateus_3", "crates_regex::weave_0", "crates_regex::webgl_generator_0", "crates_regex::webgl_generator_1", "crates_regex::webscale_0", "crates_regex::weld_0", "crates_regex::weld_1", "crates_regex::weld_10", "crates_regex::weld_2", "crates_regex::weld_3", "crates_regex::weld_4", "crates_regex::weld_5", "crates_regex::weld_6", "crates_regex::weld_7", "crates_regex::weld_8", "crates_regex::weld_9", "crates_regex::wemo_0", "crates_regex::wifiscanner_0", "crates_regex::wifiscanner_1", "crates_regex::wifiscanner_2", "crates_regex::wikibase_0", "crates_regex::woothee_0", "crates_regex::woothee_1", "crates_regex::woothee_10", "crates_regex::woothee_11", "crates_regex::woothee_12", "crates_regex::woothee_13", "crates_regex::woothee_14", "crates_regex::woothee_15", "crates_regex::woothee_16", "crates_regex::woothee_17", "crates_regex::woothee_18", "crates_regex::woothee_19", "crates_regex::woothee_2", "crates_regex::woothee_20", "crates_regex::woothee_21", "crates_regex::woothee_22", "crates_regex::woothee_23", "crates_regex::woothee_24", "crates_regex::woothee_25", "crates_regex::woothee_26", "crates_regex::woothee_27", "crates_regex::woothee_28", "crates_regex::woothee_29", "crates_regex::woothee_3", "crates_regex::woothee_30", "crates_regex::woothee_31", "crates_regex::woothee_32", "crates_regex::woothee_33", "crates_regex::woothee_34", "crates_regex::woothee_35", "crates_regex::woothee_36", "crates_regex::woothee_37", "crates_regex::woothee_38", "crates_regex::woothee_39", "crates_regex::woothee_4", "crates_regex::woothee_40", "crates_regex::woothee_41", "crates_regex::woothee_42", "crates_regex::woothee_43", "crates_regex::woothee_5", "crates_regex::woothee_6", "crates_regex::woothee_7", "crates_regex::woothee_8", "crates_regex::woothee_9", "crates_regex::word_replace_0", "crates_regex::wordcount_0", "crates_regex::yaml_0", "crates_regex::yaml_1", "crates_regex::yaml_10", "crates_regex::yaml_2", "crates_regex::yaml_3", "crates_regex::yaml_4", "crates_regex::yaml_5", "crates_regex::yaml_6", "crates_regex::yaml_7", "crates_regex::yaml_8", "crates_regex::yaml_9", "crates_regex::yobot_0", "crates_regex::yobot_1", "crates_regex::yobot_2", "crates_regex::yobot_3", "crates_regex::youtube_downloader_0", "crates_regex::yubibomb_0", "allow_octal", "big_empty_regex_fails", "big_zero_reps_regex_fails", "big_empty_reps_chain_regex_fails", "disallow_octal", "disallow_non_utf8", "misc::terminates", "misc::prefix_literal_match", "misc::prefix_literal_nomatch", "misc::one_literal_edge", "oibits", "regex_is_reasonably_small", "oibits_regression", "regression_i969", "regression_fuzz::empty_any_errors_no_panic", "regression_fuzz::todo", "shortest_match::t01", "shortest_match::t02", "empty_alt_regex_fails", "regression_fuzz::big_regex_fails_to_compile" ]
[]
[]
rust-lang/regex
2023-04-21T11:29:01Z
rust-lang__regex-984
diff --git a/regex-syntax/src/hir/translate.rs b/regex-syntax/src/hir/translate.rs --- a/regex-syntax/src/hir/translate.rs +++ b/regex-syntax/src/hir/translate.rs @@ -3287,6 +3287,12 @@ mod tests { assert_eq!(p.minimum_len(), Some(1)); } + #[test] + fn analysis_look_set_prefix_any() { + let p = props(r"(?-u)(?i:(?:\b|_)win(?:32|64|dows)?(?:\b|_))"); + assert!(p.look_set_prefix_any().contains(Look::WordAscii)); + } + #[test] fn analysis_is_anchored() { let is_start = |p| props(p).look_set_prefix().contains(Look::Start); diff --git a/tests/regression.rs b/tests/regression.rs --- a/tests/regression.rs +++ b/tests/regression.rs @@ -220,3 +220,23 @@ matiter!(empty_group_find, r"()Ј01", "zЈ01", (1, 5)); // See: https://github.com/rust-lang/regex/issues/862 mat!(non_greedy_question_literal, r"ab??", "ab", Some((0, 1))); + +// See: https://github.com/rust-lang/regex/issues/981 +#[cfg(feature = "unicode")] +#[test] +fn regression_bad_word_boundary() { + let re = regex_new!(r#"(?i:(?:\b|_)win(?:32|64|dows)?(?:\b|_))"#).unwrap(); + let hay = "ubi-Darwin-x86_64.tar.gz"; + assert!(!re.is_match(text!(hay))); + let hay = "ubi-Windows-x86_64.zip"; + assert!(re.is_match(text!(hay))); +} + +// See: https://github.com/rust-lang/regex/issues/982 +#[cfg(feature = "unicode-perl")] +#[test] +fn regression_unicode_perl_not_enabled() { + let pat = r"(\d+\s?(years|year|y))?\s?(\d+\s?(months|month|m))?\s?(\d+\s?(weeks|week|w))?\s?(\d+\s?(days|day|d))?\s?(\d+\s?(hours|hour|h))?"; + let re = regex_new!(pat); + assert!(re.is_ok()); +}
diff --git a/regex-syntax/src/hir/mod.rs b/regex-syntax/src/hir/mod.rs --- a/regex-syntax/src/hir/mod.rs +++ b/regex-syntax/src/hir/mod.rs @@ -1854,6 +1854,8 @@ struct PropertiesI { look_set: LookSet, look_set_prefix: LookSet, look_set_suffix: LookSet, + look_set_prefix_any: LookSet, + look_set_suffix_any: LookSet, utf8: bool, explicit_captures_len: usize, static_explicit_captures_len: Option<usize>, diff --git a/regex-syntax/src/hir/mod.rs b/regex-syntax/src/hir/mod.rs --- a/regex-syntax/src/hir/mod.rs +++ b/regex-syntax/src/hir/mod.rs @@ -1909,6 +1911,19 @@ impl Properties { self.0.look_set_prefix } + /// Returns a set of all look-around assertions that appear as a _possible_ + /// prefix for this HIR value. That is, the set returned corresponds to the + /// set of assertions that _may_ be passed before matching any bytes in a + /// haystack. + /// + /// For example, `hir.look_set_prefix_any().contains(Look::Start)` returns + /// true if and only if it's possible for the regex to match through a + /// anchored assertion before consuming any input. + #[inline] + pub fn look_set_prefix_any(&self) -> LookSet { + self.0.look_set_prefix_any + } + /// Returns a set of all look-around assertions that appear as a suffix for /// this HIR value. That is, the set returned corresponds to the set of /// assertions that must be passed in order to be considered a match after diff --git a/regex-syntax/src/hir/mod.rs b/regex-syntax/src/hir/mod.rs --- a/regex-syntax/src/hir/mod.rs +++ b/regex-syntax/src/hir/mod.rs @@ -1921,6 +1936,19 @@ impl Properties { self.0.look_set_suffix } + /// Returns a set of all look-around assertions that appear as a _possible_ + /// suffix for this HIR value. That is, the set returned corresponds to the + /// set of assertions that _may_ be passed before matching any bytes in a + /// haystack. + /// + /// For example, `hir.look_set_suffix_any().contains(Look::End)` returns + /// true if and only if it's possible for the regex to match through a + /// anchored assertion at the end of a match without consuming any input. + #[inline] + pub fn look_set_suffix_any(&self) -> LookSet { + self.0.look_set_suffix_any + } + /// Return true if and only if the corresponding HIR will always match /// valid UTF-8. /// diff --git a/regex-syntax/src/hir/mod.rs b/regex-syntax/src/hir/mod.rs --- a/regex-syntax/src/hir/mod.rs +++ b/regex-syntax/src/hir/mod.rs @@ -2188,6 +2216,8 @@ impl Properties { look_set: LookSet::empty(), look_set_prefix: fix, look_set_suffix: fix, + look_set_prefix_any: LookSet::empty(), + look_set_suffix_any: LookSet::empty(), utf8: true, explicit_captures_len: 0, static_explicit_captures_len, diff --git a/regex-syntax/src/hir/mod.rs b/regex-syntax/src/hir/mod.rs --- a/regex-syntax/src/hir/mod.rs +++ b/regex-syntax/src/hir/mod.rs @@ -2201,6 +2231,8 @@ impl Properties { props.look_set.set_union(p.look_set()); props.look_set_prefix.set_intersect(p.look_set_prefix()); props.look_set_suffix.set_intersect(p.look_set_suffix()); + props.look_set_prefix_any.set_union(p.look_set_prefix_any()); + props.look_set_suffix_any.set_union(p.look_set_suffix_any()); props.utf8 = props.utf8 && p.is_utf8(); props.explicit_captures_len = props .explicit_captures_len diff --git a/regex-syntax/src/hir/mod.rs b/regex-syntax/src/hir/mod.rs --- a/regex-syntax/src/hir/mod.rs +++ b/regex-syntax/src/hir/mod.rs @@ -2246,6 +2278,8 @@ impl Properties { look_set: LookSet::empty(), look_set_prefix: LookSet::empty(), look_set_suffix: LookSet::empty(), + look_set_prefix_any: LookSet::empty(), + look_set_suffix_any: LookSet::empty(), // It is debatable whether an empty regex always matches at valid // UTF-8 boundaries. Strictly speaking, at a byte oriented view, // it is clearly false. There are, for example, many empty strings diff --git a/regex-syntax/src/hir/mod.rs b/regex-syntax/src/hir/mod.rs --- a/regex-syntax/src/hir/mod.rs +++ b/regex-syntax/src/hir/mod.rs @@ -2280,6 +2314,8 @@ impl Properties { look_set: LookSet::empty(), look_set_prefix: LookSet::empty(), look_set_suffix: LookSet::empty(), + look_set_prefix_any: LookSet::empty(), + look_set_suffix_any: LookSet::empty(), utf8: core::str::from_utf8(&lit.0).is_ok(), explicit_captures_len: 0, static_explicit_captures_len: Some(0), diff --git a/regex-syntax/src/hir/mod.rs b/regex-syntax/src/hir/mod.rs --- a/regex-syntax/src/hir/mod.rs +++ b/regex-syntax/src/hir/mod.rs @@ -2297,6 +2333,8 @@ impl Properties { look_set: LookSet::empty(), look_set_prefix: LookSet::empty(), look_set_suffix: LookSet::empty(), + look_set_prefix_any: LookSet::empty(), + look_set_suffix_any: LookSet::empty(), utf8: class.is_utf8(), explicit_captures_len: 0, static_explicit_captures_len: Some(0), diff --git a/regex-syntax/src/hir/mod.rs b/regex-syntax/src/hir/mod.rs --- a/regex-syntax/src/hir/mod.rs +++ b/regex-syntax/src/hir/mod.rs @@ -2314,6 +2352,8 @@ impl Properties { look_set: LookSet::singleton(look), look_set_prefix: LookSet::singleton(look), look_set_suffix: LookSet::singleton(look), + look_set_prefix_any: LookSet::singleton(look), + look_set_suffix_any: LookSet::singleton(look), // This requires a little explanation. Basically, we don't consider // matching an empty string to be equivalent to matching invalid // UTF-8, even though technically matching every empty string will diff --git a/regex-syntax/src/hir/mod.rs b/regex-syntax/src/hir/mod.rs --- a/regex-syntax/src/hir/mod.rs +++ b/regex-syntax/src/hir/mod.rs @@ -2355,15 +2395,17 @@ impl Properties { look_set: p.look_set(), look_set_prefix: LookSet::empty(), look_set_suffix: LookSet::empty(), + look_set_prefix_any: p.look_set_prefix_any(), + look_set_suffix_any: p.look_set_suffix_any(), utf8: p.is_utf8(), explicit_captures_len: p.explicit_captures_len(), static_explicit_captures_len: p.static_explicit_captures_len(), literal: false, alternation_literal: false, }; - // The repetition operator can match the empty string, then its lookset - // prefix and suffixes themselves remain empty since they are no longer - // required to match. + // If the repetition operator can match the empty string, then its + // lookset prefix and suffixes themselves remain empty since they are + // no longer required to match. if rep.min > 0 { inner.look_set_prefix = p.look_set_prefix(); inner.look_set_suffix = p.look_set_suffix(); diff --git a/regex-syntax/src/hir/mod.rs b/regex-syntax/src/hir/mod.rs --- a/regex-syntax/src/hir/mod.rs +++ b/regex-syntax/src/hir/mod.rs @@ -2414,6 +2456,8 @@ impl Properties { look_set: LookSet::empty(), look_set_prefix: LookSet::empty(), look_set_suffix: LookSet::empty(), + look_set_prefix_any: LookSet::empty(), + look_set_suffix_any: LookSet::empty(), utf8: true, explicit_captures_len: 0, static_explicit_captures_len: Some(0), diff --git a/regex-syntax/src/hir/mod.rs b/regex-syntax/src/hir/mod.rs --- a/regex-syntax/src/hir/mod.rs +++ b/regex-syntax/src/hir/mod.rs @@ -2455,6 +2499,9 @@ impl Properties { let mut it = concat.iter(); while let Some(x) = it.next() { props.look_set_prefix.set_union(x.properties().look_set_prefix()); + props + .look_set_prefix_any + .set_union(x.properties().look_set_prefix_any()); if x.properties().maximum_len().map_or(true, |x| x > 0) { break; } diff --git a/regex-syntax/src/hir/mod.rs b/regex-syntax/src/hir/mod.rs --- a/regex-syntax/src/hir/mod.rs +++ b/regex-syntax/src/hir/mod.rs @@ -2463,6 +2510,9 @@ impl Properties { let mut it = concat.iter().rev(); while let Some(x) = it.next() { props.look_set_suffix.set_union(x.properties().look_set_suffix()); + props + .look_set_suffix_any + .set_union(x.properties().look_set_suffix_any()); if x.properties().maximum_len().map_or(true, |x| x > 0) { break; } diff --git a/src/exec.rs b/src/exec.rs --- a/src/exec.rs +++ b/src/exec.rs @@ -274,18 +274,18 @@ impl ExecBuilder { // prefixes, so disable them. prefixes = None; } else if is_set - && props.look_set_prefix().contains(Look::Start) + && props.look_set_prefix_any().contains(Look::Start) { // Regex sets with anchors do not go well with literal // optimizations. prefixes = None; - } else if props.look_set_prefix().contains_word() { + } else if props.look_set_prefix_any().contains_word() { // The new literal extractor ignores look-around while // the old one refused to extract prefixes from regexes // that began with a \b. These old creaky regex internals // can't deal with it, so we drop it. prefixes = None; - } else if props.look_set().contains(Look::StartLF) { + } else if props.look_set_prefix_any().contains(Look::StartLF) { // Similar to the reasoning for word boundaries, this old // regex engine can't handle literal prefixes with '(?m:^)' // at the beginning of a regex. diff --git a/src/exec.rs b/src/exec.rs --- a/src/exec.rs +++ b/src/exec.rs @@ -298,15 +298,16 @@ impl ExecBuilder { // Partial anchors unfortunately make it hard to use // suffixes, so disable them. suffixes = None; - } else if is_set && props.look_set_suffix().contains(Look::End) + } else if is_set + && props.look_set_suffix_any().contains(Look::End) { // Regex sets with anchors do not go well with literal // optimizations. suffixes = None; - } else if props.look_set_suffix().contains_word() { + } else if props.look_set_suffix_any().contains_word() { // See the prefix case for reasoning here. suffixes = None; - } else if props.look_set().contains(Look::EndLF) { + } else if props.look_set_suffix_any().contains(Look::EndLF) { // See the prefix case for reasoning here. suffixes = None; }
[ "981" ]
984
Regex matching changed in 1.8.0 #### What version of regex are you using? This appears to be a bug in 1.8.0. #### Describe the bug at a high level. Something in the regex matching changed in 1.8.0. I suspect it might be a bug in the handling of word boundaries, `\b`. #### What are the steps to reproduce the behavior? ```rust use regex::Regex; fn main() { let re = Regex::new(r#"(?i:(?:\b|_)win(?:32|64|dows)?(?:\b|_))"#).unwrap(); for s in ["ubi-Darwin-x86_64.tar.gz", "ubi-Windows-x86_64.zip"] { println!("{s} =~ /{}/ => {}", re, re.is_match(s)); } } ``` With `regex` 1.8.0 the given regex will match both strings, which is surprising. The "win" in "Darwin" is not preceded by a word boundary or underscore. In 1.7.3, this matches only the second string, as I'd expect. #### What is the actual behavior? With 1.8.0: ``` $> cargo run Finished dev [unoptimized + debuginfo] target(s) in 0.00s Running `target/debug/regex-issue` ubi-Darwin-x86_64.tar.gz =~ /(?i:(?:\b|_)win(?:32|64|dows)?(?:\b|_))/ => true ubi-Windows-x86_64.zip =~ /(?i:(?:\b|_)win(?:32|64|dows)?(?:\b|_))/ => true ``` With 1.7.3: ``` $> cargo run Finished dev [unoptimized + debuginfo] target(s) in 0.00s Running `target/debug/regex-issue` ubi-Darwin-x86_64.tar.gz =~ /(?i:(?:\b|_)win(?:32|64|dows)?(?:\b|_))/ => false ubi-Windows-x86_64.zip =~ /(?i:(?:\b|_)win(?:32|64|dows)?(?:\b|_))/ => true ``` #### What is the expected behavior? I expect this to work the way it does in 1.7.3.
1.8
93316a3b1adc43cc12fab6c73a59f646658cd984
d555d6122d1d1a354c45361d029571413beca8ef
[ "regression::regression_bad_word_boundary" ]
[ "compile::tests::byte_classes", "compile::tests::full_byte_classes", "dfa::tests::prop_read_write_u32", "dfa::tests::prop_read_write_i32", "expand::tests::find_cap_ref1", "expand::tests::find_cap_ref10", "expand::tests::find_cap_ref11", "exec::test::uppercut_s_backtracking_bytes_default_bytes_mismatch", "exec::test::unicode_lit_star_backtracking_utf8bytes_default_utf8bytes_mismatch", "expand::tests::find_cap_ref12", "expand::tests::find_cap_ref13", "expand::tests::find_cap_ref14", "expand::tests::find_cap_ref15", "expand::tests::find_cap_ref16", "expand::tests::find_cap_ref17", "expand::tests::find_cap_ref18", "expand::tests::find_cap_ref19", "expand::tests::find_cap_ref2", "expand::tests::find_cap_ref20", "expand::tests::find_cap_ref21", "expand::tests::find_cap_ref22", "expand::tests::find_cap_ref23", "expand::tests::find_cap_ref24", "expand::tests::find_cap_ref25", "expand::tests::find_cap_ref26", "expand::tests::find_cap_ref3", "expand::tests::find_cap_ref4", "expand::tests::find_cap_ref5", "expand::tests::find_cap_ref6", "expand::tests::find_cap_ref8", "expand::tests::find_cap_ref7", "expand::tests::find_cap_ref9", "pool::tests::oibits", "prog::test::test_size_of_inst", "utf8::tests::prop_decode_last_matches_std", "utf8::tests::prop_decode_matches_std", "pool::tests::thread_owner_optimization", "utf8::tests::prop_encode_matches_std", "utf8::tests::prop_roundtrip", "utf8::tests::reject_invalid", "utf8::tests::reject_invalid_last", "utf8::tests::prop_roundtrip_last", "dfa::tests::prop_state_encode_decode", "api::capture_index_lifetime", "api::capture_index", "api::capture_index_panic_name - should panic", "api::capture_index_panic_usize - should panic", "api::empty_match_captures_iter", "api::capture_names", "api::empty_match_find_iter", "api::capture_misc", "api::empty_regex_empty_match", "api::empty_regex_nonempty_match", "api::expand1", "api::expand2", "api::expand10", "api::expand5", "api::expand3", "api::expand4", "api::expand6", "api::expand7", "api::expand9", "api::expand8", "api::expand_name1", "api::expand_name10", "api::expand_name11", "api::expand_name2", "api::expand_name5", "api::expand_name3", "api::expand_name4", "api::expand_name6", "api::expand_name8", "api::expand_name7", "api::expand_name9", "api::many_zero_length_match", "api::one_zero_length_match", "api::many_sequential_zero_length_match", "api::first_range_starts_with_left_bracket", "api::quoted_bracket_set", "api::split3", "api::split_trailing_blanks", "api::split_trailing_blank", "api::split2", "crazy::lazy_range_many", "api::split_none", "api::split_empty", "crazy::greedy_one_many_many", "api::range_ends_with_escape", "api::regex_string", "crazy::greedy_many_optional", "api::splitn_above_limit", "api::splitn_below_limit", "api::splitn_at_limit", "api::sub_capture_matches", "crazy::lazy_range_min_many", "crazy::match_email_big", "api::split1", "api::splitn_trailing_separator", "api_str::empty_match_unicode_captures_iter", "crazy::match_empty12", "api::splitn_zero_limit", "crazy::match_empty11", "crazy::match_empty10", "crazy::match_empty15", "api::splitn_trailing_blank", "crazy::match_empty17", "api_str::match_as_str", "api_str::empty_match_unicode_find_iter", "crazy::match_empty2", "crazy::match_empty1", "crazy::ascii_literal", "crazy::match_email", "crazy::match_empty16", "crazy::match_empty18", "crazy::match_empty21", "crazy::lazy_one_many_many", "crazy::match_empty6", "crazy::match_empty9", "crazy::greedy_one_many_optional", "crazy::match_email_not", "crazy::match_empty8", "crazy::match_empty7", "api::splitn_empty", "crazy::match_empty4", "crazy::greedy_range_min_many", "crazy::lazy_many_many", "crazy::lazy_many_optional", "crazy::greedy_range_many", "crazy::match_empty13", "crazy::lazy_one_many_optional", "crazy::match_empty14", "crazy::match_start_end_empty_many_1", "crazy::match_float2", "crazy::match_start_end_empty_rep_rev", "crazy::match_start_end_empty_rep", "crazy::negclass_letters", "crazy::match_empty5", "crazy::match_ranges_not", "crazy::match_empty23", "crazy::negclass_ascii", "crazy::match_ranges", "crazy::match_date3", "crazy::match_empty19", "crazy::greedy_many_many", "crazy::match_empty20", "crazy::match_empty3", "flags::match_flag_multi", "crazy::negclass_letter_space", "crazy::match_empty22", "crazy::match_start_end_empty_rev", "crazy::negclass_space", "crazy::negclass_space_comma", "crazy::match_date2", "crazy::match_float3", "crazy::match_date1", "flags::match_flag_case", "fowler::match_basic_103", "crazy::match_float4", "flags::match_flag_ungreedy", "crazy::match_start_end_empty_many_2", "crazy::match_float1", "flags::match_flag_weird_case", "crazy::match_start_end_empty", "fowler::match_basic_114", "crazy::negclass_comma", "flags::match_flag_case_dotnl", "fowler::match_basic_110", "crazy::negclass_comma_space", "crazy::negclass_letter_comma", "fowler::match_basic_118", "flags::match_flag_ungreedy_noop", "fowler::match_basic_108", "fowler::match_basic_113", "fowler::match_basic_119", "fowler::match_basic_111", "flags::match_flag_ungreedy_greedy", "flags::match_flag_case_dotnl_toggle_not", "flags::match_flag_case_dotnl_toggle", "fowler::match_basic_10", "flags::match_flag_case_dotnl_toggle_ok", "fowler::match_basic_121", "fowler::match_basic_100", "fowler::match_basic_131", "fowler::match_basic_101", "fowler::match_basic_115", "flags::match_flag_weird_case_not", "fowler::match_basic_135", "fowler::match_basic_104", "fowler::match_basic_102", "fowler::match_basic_105", "fowler::match_basic_106", "fowler::match_basic_107", "fowler::match_basic_134", "fowler::match_basic_112", "fowler::match_basic_139", "fowler::match_basic_12", "fowler::match_basic_117", "fowler::match_basic_122", "fowler::match_basic_120", "fowler::match_basic_124", "fowler::match_basic_109", "fowler::match_basic_145", "fowler::match_basic_116", "fowler::match_basic_149", "fowler::match_basic_142", "fowler::match_basic_15", "fowler::match_basic_152", "fowler::match_basic_123", "fowler::match_basic_129", "fowler::match_basic_126", "fowler::match_basic_138", "fowler::match_basic_159", "fowler::match_basic_156", "fowler::match_basic_141", "fowler::match_basic_132", "fowler::match_basic_125", "fowler::match_basic_166", "fowler::match_basic_160", "fowler::match_basic_128", "fowler::match_basic_133", "fowler::match_basic_144", "fowler::match_basic_169", "fowler::match_basic_147", "fowler::match_basic_168", "fowler::match_basic_140", "fowler::match_basic_148", "fowler::match_basic_155", "fowler::match_basic_151", "fowler::match_basic_137", "fowler::match_basic_146", "fowler::match_basic_16", "fowler::match_basic_158", "fowler::match_basic_150", "fowler::match_basic_163", "fowler::match_basic_157", "fowler::match_basic_153", "fowler::match_basic_161", "fowler::match_basic_165", "fowler::match_basic_170", "fowler::match_basic_167", "fowler::match_basic_164", "fowler::match_basic_188", "fowler::match_basic_154", "fowler::match_basic_17", "fowler::match_basic_173", "fowler::match_basic_162", "fowler::match_basic_182", "fowler::match_basic_176", "fowler::match_basic_191", "fowler::match_basic_20", "fowler::match_basic_184", "fowler::match_basic_19", "fowler::match_basic_193", "fowler::match_basic_187", "fowler::match_basic_192", "fowler::match_basic_177", "fowler::match_basic_201", "fowler::match_basic_18", "fowler::match_basic_181", "fowler::match_basic_185", "fowler::match_basic_186", "fowler::match_basic_172", "fowler::match_basic_198", "fowler::match_basic_200", "fowler::match_basic_190", "fowler::match_basic_179", "fowler::match_basic_171", "fowler::match_basic_175", "fowler::match_basic_205", "fowler::match_basic_207", "fowler::match_basic_189", "fowler::match_basic_204", "fowler::match_basic_174", "fowler::match_basic_178", "fowler::match_basic_180", "fowler::match_basic_194", "fowler::match_basic_218", "fowler::match_basic_216", "fowler::match_basic_209", "fowler::match_basic_195", "fowler::match_basic_197", "fowler::match_basic_183", "fowler::match_basic_214", "fowler::match_basic_213", "fowler::match_basic_25", "fowler::match_basic_215", "fowler::match_basic_206", "fowler::match_basic_27", "fowler::match_basic_208", "fowler::match_basic_22", "fowler::match_basic_199", "fowler::match_basic_23", "fowler::match_basic_202", "fowler::match_basic_196", "fowler::match_basic_33", "fowler::match_basic_32", "fowler::match_basic_203", "fowler::match_basic_21", "fowler::match_basic_217", "fowler::match_basic_3", "fowler::match_basic_30", "fowler::match_basic_212", "fowler::match_basic_47", "fowler::match_basic_36", "fowler::match_basic_26", "fowler::match_basic_221", "fowler::match_basic_210", "fowler::match_basic_211", "fowler::match_basic_41", "fowler::match_basic_49", "fowler::match_basic_5", "fowler::match_basic_45", "fowler::match_basic_220", "fowler::match_basic_48", "fowler::match_basic_219", "fowler::match_basic_42", "fowler::match_basic_4", "fowler::match_basic_37", "fowler::match_basic_44", "fowler::match_basic_28", "fowler::match_basic_46", "fowler::match_basic_54", "fowler::match_basic_34", "fowler::match_basic_53", "fowler::match_basic_50", "fowler::match_basic_24", "fowler::match_basic_35", "fowler::match_basic_29", "fowler::match_basic_7", "fowler::match_basic_72", "fowler::match_basic_38", "fowler::match_basic_43", "fowler::match_basic_52", "fowler::match_basic_6", "fowler::match_basic_70", "fowler::match_basic_73", "fowler::match_basic_65", "fowler::match_basic_39", "fowler::match_basic_40", "fowler::match_basic_71", "fowler::match_basic_77", "fowler::match_basic_85", "fowler::match_basic_58", "fowler::match_basic_80", "fowler::match_basic_86", "fowler::match_basic_9", "fowler::match_basic_83", "fowler::match_basic_88", "fowler::match_basic_66", "fowler::match_basic_81", "fowler::match_basic_57", "fowler::match_basic_68", "fowler::match_basic_59", "fowler::match_basic_98", "fowler::match_basic_67", "fowler::match_basic_69", "fowler::match_basic_95", "fowler::match_basic_97", "fowler::match_basic_51", "fowler::match_nullsubexpr_14", "fowler::match_basic_55", "fowler::match_basic_56", "fowler::match_basic_79", "fowler::match_nullsubexpr_10", "fowler::match_basic_84", "fowler::match_basic_89", "fowler::match_nullsubexpr_13", "fowler::match_basic_76", "fowler::match_nullsubexpr_25", "fowler::match_nullsubexpr_16", "fowler::match_basic_94", "fowler::match_nullsubexpr_28", "fowler::match_nullsubexpr_3", "fowler::match_basic_78", "fowler::match_nullsubexpr_24", "fowler::match_nullsubexpr_30", "fowler::match_basic_90", "fowler::match_basic_87", "fowler::match_nullsubexpr_12", "fowler::match_nullsubexpr_33", "fowler::match_basic_96", "fowler::match_basic_91", "fowler::match_nullsubexpr_11", "fowler::match_nullsubexpr_34", "fowler::match_basic_99", "fowler::match_basic_92", "fowler::match_basic_93", "fowler::match_nullsubexpr_39", "fowler::match_nullsubexpr_35", "fowler::match_nullsubexpr_46", "fowler::match_nullsubexpr_15", "fowler::match_nullsubexpr_17", "fowler::match_nullsubexpr_23", "fowler::match_nullsubexpr_19", "fowler::match_nullsubexpr_18", "fowler::match_nullsubexpr_27", "fowler::match_nullsubexpr_26", "fowler::match_nullsubexpr_21", "fowler::match_nullsubexpr_75", "fowler::match_nullsubexpr_29", "fowler::match_nullsubexpr_36", "fowler::match_nullsubexpr_40", "fowler::match_nullsubexpr_48", "fowler::match_nullsubexpr_77", "fowler::match_nullsubexpr_7", "fowler::match_nullsubexpr_41", "fowler::match_nullsubexpr_38", "fowler::match_nullsubexpr_32", "fowler::match_nullsubexpr_70", "fowler::match_nullsubexpr_37", "fowler::match_nullsubexpr_74", "fowler::match_basic_74", "fowler::match_nullsubexpr_5", "fowler::match_nullsubexpr_43", "fowler::match_nullsubexpr_73", "fowler::match_nullsubexpr_45", "fowler::match_repetition_106", "fowler::match_basic_75", "fowler::match_repetition_102", "fowler::match_repetition_114", "fowler::match_nullsubexpr_42", "fowler::match_repetition_108", "fowler::match_nullsubexpr_71", "fowler::match_repetition_12", "fowler::match_nullsubexpr_50", "fowler::match_repetition_115", "fowler::match_repetition_10", "fowler::match_repetition_127", "fowler::match_nullsubexpr_6", "fowler::match_nullsubexpr_9", "fowler::match_nullsubexpr_69", "fowler::match_repetition_130", "fowler::match_nullsubexpr_78", "fowler::match_nullsubexpr_8", "fowler::match_repetition_134", "fowler::match_nullsubexpr_79", "fowler::match_repetition_129", "fowler::match_repetition_143", "fowler::match_repetition_104", "fowler::match_repetition_112", "fowler::match_repetition_159", "fowler::match_repetition_16", "fowler::match_repetition_132", "fowler::match_repetition_100", "fowler::match_repetition_149", "fowler::match_repetition_21", "fowler::match_repetition_11", "fowler::match_repetition_147", "fowler::match_repetition_163", "fowler::match_repetition_126", "fowler::match_repetition_133", "fowler::match_repetition_26", "fowler::match_repetition_128", "fowler::match_repetition_158", "fowler::match_repetition_110", "fowler::match_repetition_131", "fowler::match_repetition_24", "fowler::match_repetition_40", "fowler::match_repetition_50", "fowler::match_repetition_46", "fowler::match_repetition_28", "fowler::match_repetition_41", "fowler::match_repetition_35", "fowler::match_repetition_156", "fowler::match_repetition_34", "fowler::match_repetition_31", "fowler::match_repetition_136", "fowler::match_repetition_14", "fowler::match_repetition_137", "fowler::match_repetition_145", "fowler::match_repetition_152", "fowler::match_repetition_15", "fowler::match_repetition_42", "fowler::match_repetition_150", "fowler::match_repetition_44", "fowler::match_repetition_135", "fowler::match_repetition_154", "fowler::match_repetition_161", "fowler::match_repetition_32", "fowler::match_repetition_20", "fowler::match_repetition_52", "fowler::match_repetition_18", "fowler::match_repetition_25", "fowler::match_repetition_30", "fowler::match_repetition_38", "fowler::match_repetition_76", "fowler::match_repetition_73", "fowler::match_repetition_83", "fowler::match_repetition_92", "fowler::match_repetition_65", "fowler::match_repetition_22", "fowler::match_repetition_53", "fowler::match_repetition_94", "fowler::match_repetition_97", "fowler::match_repetition_59", "fowler::match_repetition_95", "fowler::match_repetition_36", "fowler::match_repetition_47", "fowler::match_repetition_77", "multiline::match_multi_2", "fowler::match_repetition_63", "fowler::match_repetition_80", "multiline::match_multi_5", "multiline::match_multi_9", "fowler::match_repetition_64", "multiline::match_multi_rep_12", "multiline::match_multi_6", "multiline::match_multi_1", "multiline::match_multi_3", "fowler::match_repetition_67", "fowler::match_repetition_56", "fowler::match_repetition_57", "fowler::match_repetition_68", "fowler::match_repetition_96", "fowler::match_repetition_61", "fowler::match_repetition_79", "fowler::match_repetition_75", "fowler::match_repetition_70", "multiline::match_multi_8", "fowler::match_repetition_91", "fowler::match_repetition_98", "multiline::match_multi_rep_11", "multiline::match_multi_rep_17", "fowler::match_repetition_90", "fowler::match_repetition_93", "multiline::match_multi_rep_6", "fowler::match_repetition_81", "multiline::match_multi_rep_15", "multiline::match_multi_rep_7", "noparse::fail_counted_no_close", "fowler::match_repetition_54", "noparse::fail_class_incomplete", "noparse::fail_class_no_begin", "noparse::fail_class_no_boundary", "noparse::fail_counted_nonnegative", "noparse::fail_counted_decreasing", "multiline::match_multi_rep_1", "multiline::match_multi_4", "noparse::fail_flag_empty", "multiline::match_multi_rep_10", "multiline::match_multi_7", "multiline::match_multi_rep_8", "noparse::fail_incomplete_escape", "noparse::fail_hex_digit", "noparse::fail_invalid_range", "noparse::fail_bad_flag", "noparse::fail_no_repeat_arg", "noparse::fail_range_end_no_begin", "multiline::match_multi_rep_2", "multiline::match_multi_rep_13", "multiline::match_multi_rep_9", "multiline::match_multi_rep_14", "multiline::match_multi_rep_5", "noparse::fail_bad_capture_name", "multiline::match_multi_rep_16", "noparse::fail_close_paren", "multiline::match_multi_rep_4", "multiline::match_multi_rep_3", "noparse::fail_hex_long_digits", "noparse::fail_unfinished_cap", "noparse::fail_class_not_closed", "noparse::fail_class_no_end", "noparse::fail_range_end_no_boundary", "regression::captures_after_dfa_premature_end1", "noparse::fail_octal_digit", "regression::empty_group_find", "regression::anchored_prefix1", "regression::empty_group_match", "noparse::fail_dupe_named", "noparse::fail_hex_short", "regression::blank_matches_nothing_between_space_and_tab", "regression::partial_anchor_alternate_end", "noparse::fail_empty_capture_name", "regression::literal_panic", "noparse::fail_double_neg", "regression::partial_anchor_alternate_begin", "regression::partial_anchor", "noparse::fail_open_paren", "noparse::fail_flag_bad", "regression::ahocorasick1", "regression::regression_alt_in_alt1", "noparse::fail_range_end_no_class", "regression::regression_negated_char_class_1", "regression::anchored_prefix2", "regression::flags_are_unset", "noparse::fail_neg_empty", "regression::lits_unambiguous2", "noparse::fail_unfinished_escape", "regression::regression_invalid_repetition_expr", "noparse::fail_range_end_no_end", "regression::anchored_prefix3", "regression::captures_after_dfa_premature_end2", "regression::captures_after_dfa_premature_end3", "regression::regression_nfa_stops1", "regression::regression_unsorted_binary_search_2", "regression::regression_negated_char_class_2", "regression::endl_or_wb", "regression::regression_unsorted_binary_search_1", "regression::invalid_regexes_no_crash", "regression::inverted_blank_matches_everything_between_space_and_tab", "regression::many_alternates", "regression::regression_ascii_word_underscore", "regression::wb_start_x", "regression::non_greedy_question_literal", "replace::capture_longest_possible_name", "regression::regression_invalid_flags_expression", "regression::regression_alt_in_alt2", "regression::lits_unambiguous1", "regression::strange_anchor_non_complete_prefix", "regression::reverse_suffix1", "regression::zero_or_end", "regression::split_on_word_boundary", "replace::groups", "replace::impl_cow_slice_owned_ref", "regression::regression_leftmost_first_prefix", "regression::regression_captures_rep", "replace::impl_cow_str_borrowed", "replace::impl_vec_u8_ref", "replace::all", "replace::closure_returning_value", "replace::first", "regression::strange_anchor_non_complete_suffix", "replace::impl_cow_str_owned", "regression::reverse_suffix3", "regression::word_boundary_dfa", "regression::y_or_endl", "replace::number_hypen", "replace::impl_cow_slice_borrowed_ref", "searcher::searcher_empty_regex", "replace::double_dollar", "replace::closure_returning_reference", "regression::reverse_suffix2", "replace::match_at_start_replace_with_empty", "searcher::searcher_empty_haystack", "searcher::searcher_empty_regex_empty_haystack", "replace::simple_expand", "replace::impl_cow_slice_borrowed", "replace::impl_cow_slice_owned", "replace::named", "searcher::searcher_many_zero_length_matches", "searcher::searcher_no_match", "replace::impl_cow_str_borrowed_ref", "replace::replacen_no_captures", "replace::no_expand2", "regression::uni_case_lower_nocase_flag", "replace::impl_cow_str_owned_ref", "replace::impl_string", "replace::trim", "searcher::searcher_two_non_adjacent_matches", "searcher::searcher_unicode", "searcher::searcher_one_match", "replace::impl_string_ref", "searcher::searcher_one_zero_length_matches", "set::get_set_patterns", "searcher::searcher_reject_first", "searcher::searcher_two_adjacent_matches", "replace::impl_vec_u8", "set::nset3", "replace::no_expand1", "set::nset2", "replace::literal_dollar2", "set::set10", "set::set14", "replace::literal_dollar1", "replace::replacen_with_captures", "set::set16", "replace::plus", "set::set12", "regression::regression_unicode_perl_not_enabled", "set::set9", "replace::single_empty_match", "set::setempty3", "set::set4", "set::setempty5", "set::len_and_empty", "set::set1", "set::set13", "set::nset1", "set::set17", "set::set7", "set::regression_subsequent_matches", "set::default_set_is_empty", "set::setempty8", "set::setempty9", "set::nset4", "set::set2", "set::set18", "set::set3", "suffix_reverse::t04", "set::setempty4", "set::set15", "set::setempty2", "set::set11", "unicode::uni_boundary_none", "suffix_reverse::t05", "unicode::uni_class_gcb_prepend", "set::set8", "set::setempty6", "set::setempty1", "set::setempty7", "set::set5", "set::set6", "unicode::uni_class_gencat_close_punctuation", "unicode::uni_class_gencat_control", "unicode::uni_class_gcb_zwj", "unicode::uni_class_gencat_connector_punctuation", "unicode::uni_class_gencat_dash_punctuation", "unicode::uni_class_gencat_cased_letter3", "unicode::uni_class_gencat_final_punctuation", "suffix_reverse::t01", "unicode::uni_class_gencat_currency_symbol", "unicode::uni_class_gencat_decimal_numer", "suffix_reverse::t06", "unicode::uni_class_gcb_ri2", "unicode::uni_class_gencat_letter_number", "unicode::uni_class_gencat_format", "suffix_reverse::t03", "suffix_reverse::t02", "unicode::uni_case", "unicode::uni_boundary_ogham", "unicode::uni_class_gencat_enclosing_mark", "unicode::uni_class_gencat_line_separator", "unicode::uni_class_gencat_modifier_letter", "unicode::uni_class_gencat_other_number", "unicode::uni_class_gencat_number", "unicode::uni_class_gcb_ri3", "unicode::uni_class_gencat_cased_letter", "unicode::uni_class_gcb_ri1", "unicode::uni_class_gencat_format_abbrev3", "unicode::uni_class_gencat_mark", "unicode::uni_class_gencat_format_abbrev2", "unicode::uni_class_gencat_cased_letter2", "unicode::uni_case_upper_nocase_flag", "unicode::uni_class_gencat_format_abbrev1", "unicode::uni_class_gencat_space_separator", "unicode::uni_class_gencat_initial_punctuation", "unicode::uni_class_prop_emoji1", "unicode::uni_class_gencat_other_punctuation", "unicode::uni_class_gencat_modifier_symbol", "unicode::uni_class_gencat_spacing_mark", "unicode::uni_class_gencat_paragraph_separator", "unicode::uni_class_prop_picto2", "unicode::uni_class_gencat_open_punctuation", "unicode::uni_class_gencat_math", "unicode::uni_class_prop_picto1", "unicode::uni_class_gencat_private_use", "unicode::uni_case_upper", "unicode::uni_class_sb3", "unicode::uni_class_gencat_punctuation", "unicode::uni_class_gencat_separator", "unicode::uni_class_gencat_symbol", "unicode::uni_class_gencat_titlecase_letter", "unicode::uni_class_wb4", "unicode::uni_class_wb5", "unicode::uni_class_wb2", "unicode::uni_class_gcb_lvt", "unicode::uni_class_plus", "unicode::uni_class_gencat_other_symbol", "unicode::uni_not_boundary_ogham", "unicode::uni_perl_d_not", "unicode::uni_class_sb4", "unicode::uni_class_sb5", "unicode::uni_class_wb1", "unicode::uni_class_gencat_nonspacing_mark", "unicode::uni_perl_d_neg", "unicode::uni_class_prop_emoji2", "unicode::uni_literal", "unicode::uni_class_wb3", "unicode::uni_literal_casei_plus", "unicode::uni_case_lower", "unicode::uni_perl_s_not", "unicode::uni_vithkuqi_literal_upper", "unicode::uni_perl_s", "unicode::uni_literal_plus", "unicode::uni_mixed", "unicode::uni_vithkuqi_literal_lower", "unicode::uni_not_class", "unicode::uni_perl_d", "unicode::uni_not", "unicode::uni_case_upper_nocase", "word_boundary::nb10", "word_boundary::nb15", "unicode::uni_not_boundary_none", "unicode::uni_one", "word_boundary::nb1", "unicode::uni_class_gencat_letter", "unicode::uni_class_sb1", "word_boundary::nb21", "unicode::uni_not_class_neg", "word_boundary::nb20", "word_boundary::nb2", "unicode::uni_perl_s_neg", "word_boundary::nb23", "word_boundary::nb18", "word_boundary::nb28", "word_boundary::nb16", "unicode::uni_class_sb2", "unicode::uni_class_gencat_lowercase_letter", "word_boundary::nb12", "word_boundary::nb14", "word_boundary::nb31", "unicode::uni_class_gencat_other_letter", "word_boundary::nb11", "word_boundary::nb13", "word_boundary::nb33", "word_boundary::nb37", "word_boundary::nb4", "word_boundary::nb19", "word_boundary::nb34", "word_boundary::nb17", "word_boundary::nb36", "unicode::uni_class_gencat_uppercase_letter", "word_boundary::nb35", "word_boundary::nb27", "word_boundary::nb38", "word_boundary::nb7", "word_boundary::nb25", "word_boundary::nb24", "word_boundary::nb22", "word_boundary::nb6", "word_boundary::nb26", "word_boundary::wb1", "unicode::uni_class_gencat_other", "unicode::uni_class_gencat_unassigned", "word_boundary::nb5", "word_boundary::wb10", "word_boundary::wb17", "word_boundary::nb3", "word_boundary::wb12", "word_boundary::wb11", "word_boundary::nb29", "word_boundary::nb30", "word_boundary::nb32", "word_boundary::wb24", "word_boundary::unicode2", "word_boundary::wb2", "word_boundary::wb27", "word_boundary::nb39", "word_boundary::nb8", "word_boundary::wb13", "word_boundary::wb18", "word_boundary::wb21", "word_boundary::nb9", "word_boundary::wb19", "word_boundary::unicode1", "word_boundary::wb33", "word_boundary::wb25", "word_boundary::wb23", "word_boundary::wb26", "word_boundary::wb20", "word_boundary::wb37", "word_boundary::wb6", "word_boundary::wb3", "word_boundary::wb7", "word_boundary::wb40", "word_boundary::wb29", "word_boundary::wb14", "word_boundary::wb15", "word_boundary::wb36", "unicode::uni_perl_w_neg", "word_boundary::wb16", "word_boundary::wb8", "word_boundary::wb41", "word_boundary_unicode::unicode2", "word_boundary_unicode::ascii1", "word_boundary::wb9", "word_boundary::wb4", "word_boundary::wb22", "word_boundary::wb31", "word_boundary::wb28", "word_boundary::wb30", "word_boundary::wb32", "word_boundary::wb38", "word_boundary::wb34", "word_boundary::wb35", "word_boundary::wb39", "word_boundary::wb5", "crazy::nest_limit_makes_it_parse", "word_boundary_unicode::unicode1", "unicode::uni_perl_w_not", "unicode::uni_perl_w", "unicode::uni_vithkuqi_word_upper", "unicode::uni_vithkuqi_word_lower", "crazy::dfa_handles_pathological_case", "regression::regression_many_repeat_stack_overflow", "noparse::fail_too_big", "bytes::negated_full_byte_range", "bytes::case_ascii_class", "bytes::case_ascii_one", "bytes::perl_s_ascii", "bytes::null_bytes", "bytes::dotstar_prefix_not_unicode2", "bytes::perl_s_unicode", "bytes::ascii_boundary_no_capture", "bytes::invalidutf8_anchor3", "bytes::ascii_boundary_capture", "bytes::case_unicode", "bytes::perl_d_ascii", "bytes::mixed1", "bytes::perl_w_ascii", "bytes::word_boundary", "bytes::dotstar_prefix_not_unicode1", "bytes::negate_unicode", "bytes::word_boundary_ascii2", "bytes::end_not_wb", "bytes::word_boundary_unicode", "bytes::word_not_boundary_unicode", "bytes::negate_not_unicode", "bytes::invalidutf8_anchor1", "bytes::case_not_unicode", "bytes::perl_d_unicode", "bytes::invalidutf8_anchor2", "bytes::word_not_boundary", "bytes::word_boundary_ascii1", "bytes::perl_w_unicode", "word_boundary_ascii::unicode2", "word_boundary_ascii::unicode1", "word_boundary_ascii::ascii1", "word_boundary_ascii::ascii3", "word_boundary_ascii::ascii2", "crates_regex::actix_web_0", "crates_regex::actix_web_1", "crates_regex::aerial_0", "crates_regex::aerial_1", "crates_regex::afsort_0", "crates_regex::afsort_1", "crates_regex::afsort_2", "crates_regex::afsort_3", "crates_regex::afsort_4", "crates_regex::afsort_5", "crates_regex::afsort_6", "crates_regex::afsort_7", "crates_regex::airkorea_0", "crates_regex::airkorea_1", "crates_regex::airkorea_2", "crates_regex::alcibiades_0", "crates_regex::althea_kernel_interface_0", "crates_regex::althea_kernel_interface_1", "crates_regex::amethyst_tools_0", "crates_regex::amigo_0", "crates_regex::amigo_1", "crates_regex::amigo_2", "crates_regex::amigo_3", "crates_regex::amigo_4", "crates_regex::arpabet_0", "crates_regex::arpabet_1", "crates_regex::arthas_derive_0", "crates_regex::arthas_derive_1", "crates_regex::arthas_derive_2", "crates_regex::arthas_plugin_0", "crates_regex::arthas_plugin_1", "crates_regex::arthas_plugin_2", "crates_regex::article_date_extractor_0", "crates_regex::arthas_plugin_3", "crates_regex::article_date_extractor_1", "crates_regex::askalono_0", "crates_regex::askalono_1", "crates_regex::askalono_10", "crates_regex::askalono_2", "crates_regex::askalono_3", "crates_regex::askalono_4", "crates_regex::askalono_5", "crates_regex::askalono_6", "crates_regex::askalono_7", "crates_regex::askalono_8", "crates_regex::askalono_9", "crates_regex::assembunny_plus_0", "crates_regex::assembunny_plus_1", "crates_regex::atarashii_imap_0", "crates_regex::atarashii_imap_1", "crates_regex::atarashii_imap_2", "crates_regex::atarashii_imap_3", "crates_regex::atarashii_imap_4", "crates_regex::atarashii_imap_5", "crates_regex::atarashii_imap_6", "crates_regex::atarashii_imap_7", "crates_regex::aterm_0", "crates_regex::aterm_1", "crates_regex::autoshutdown_0", "crates_regex::avm_0", "crates_regex::avm_1", "crates_regex::avro_0", "crates_regex::avro_1", "crates_regex::bakervm_0", "crates_regex::bakervm_1", "crates_regex::bakervm_10", "crates_regex::bakervm_2", "crates_regex::bakervm_3", "crates_regex::bakervm_4", "crates_regex::bakervm_5", "crates_regex::bakervm_6", "crates_regex::bakervm_7", "crates_regex::bakervm_8", "crates_regex::bakervm_9", "crates_regex::banana_0", "crates_regex::bbcode_0", "crates_regex::bbcode_1", "crates_regex::bbcode_10", "crates_regex::bbcode_11", "crates_regex::bbcode_12", "crates_regex::bbcode_13", "crates_regex::bbcode_14", "crates_regex::bbcode_15", "crates_regex::bbcode_16", "crates_regex::bbcode_17", "crates_regex::bbcode_18", "crates_regex::bbcode_19", "crates_regex::bbcode_2", "crates_regex::bbcode_20", "crates_regex::bbcode_21", "crates_regex::bbcode_22", "crates_regex::bbcode_23", "crates_regex::bbcode_24", "crates_regex::bbcode_25", "crates_regex::bbcode_3", "crates_regex::bbcode_4", "crates_regex::bbcode_5", "crates_regex::bbcode_6", "crates_regex::bbcode_7", "crates_regex::bbcode_8", "crates_regex::bbcode_9", "crates_regex::bindgen_0", "crates_regex::block_utils_0", "crates_regex::block_utils_1", "crates_regex::block_utils_2", "crates_regex::bobbin_cli_0", "crates_regex::bobbin_cli_1", "crates_regex::bobbin_cli_3", "crates_regex::bobbin_cli_2", "crates_regex::bobbin_cli_4", "crates_regex::bobbin_cli_6", "crates_regex::bobbin_cli_5", "crates_regex::bobbin_cli_7", "crates_regex::bobbin_cli_8", "crates_regex::bobbin_cli_9", "crates_regex::borsholder_0", "crates_regex::borsholder_1", "crates_regex::bullet_core_0", "crates_regex::bullet_core_1", "crates_regex::bullet_core_10", "crates_regex::bullet_core_11", "crates_regex::bullet_core_12", "crates_regex::bullet_core_13", "crates_regex::bullet_core_14", "crates_regex::bullet_core_3", "crates_regex::bullet_core_2", "crates_regex::bullet_core_4", "crates_regex::bullet_core_5", "crates_regex::bullet_core_6", "crates_regex::bullet_core_7", "crates_regex::bullet_core_8", "crates_regex::bullet_core_9", "crates_regex::cabot_0", "crates_regex::cabot_1", "crates_regex::canteen_0", "crates_regex::card_validate_0", "crates_regex::card_validate_1", "crates_regex::card_validate_2", "crates_regex::card_validate_3", "crates_regex::card_validate_4", "crates_regex::card_validate_5", "crates_regex::card_validate_6", "crates_regex::card_validate_7", "crates_regex::card_validate_8", "crates_regex::card_validate_9", "crates_regex::cargo_brew_0", "crates_regex::cargo_coverage_annotations_0", "crates_regex::cargo_culture_kit_0", "crates_regex::cargo_demangle_0", "crates_regex::cargo_disassemble_0", "crates_regex::cargo_edit_0", "crates_regex::cargo_edit_1", "crates_regex::cargo_incremental_0", "crates_regex::cargo_incremental_1", "crates_regex::cargo_incremental_2", "crates_regex::cargo_incremental_3", "crates_regex::cargo_release_0", "crates_regex::cargo_release_1", "crates_regex::cargo_screeps_0", "crates_regex::cargo_script_0", "crates_regex::cargo_script_1", "crates_regex::cargo_script_2", "crates_regex::cargo_script_3", "crates_regex::cargo_script_4", "crates_regex::cargo_tarpaulin_0", "crates_regex::cargo_tarpaulin_1", "crates_regex::cargo_tarpaulin_2", "crates_regex::cargo_testify_0", "crates_regex::cargo_testify_1", "crates_regex::cargo_testjs_0", "crates_regex::cargo_update_0", "crates_regex::cargo_urlcrate_0", "crates_regex::cargo_wix_0", "crates_regex::cargo_wix_1", "crates_regex::cargo_wix_2", "crates_regex::cargo_wix_3", "crates_regex::carnix_0", "crates_regex::carnix_1", "crates_regex::carnix_2", "crates_regex::carnix_3", "crates_regex::caseless_0", "crates_regex::caseless_1", "crates_regex::cdbd_0", "crates_regex::cellsplit_0", "crates_regex::cellsplit_1", "crates_regex::checkmail_0", "crates_regex::chema_0", "crates_regex::chema_1", "crates_regex::chord3_0", "crates_regex::chord3_1", "crates_regex::chord3_2", "crates_regex::chord3_3", "crates_regex::cicada_0", "crates_regex::cicada_1", "crates_regex::cicada_2", "crates_regex::cicada_3", "crates_regex::cicada_4", "crates_regex::cifar_10_loader_0", "crates_regex::cifar_10_loader_1", "crates_regex::circadian_0", "crates_regex::circadian_1", "crates_regex::circadian_2", "crates_regex::clam_0", "crates_regex::classifier_0", "crates_regex::claude_0", "crates_regex::click_0", "crates_regex::click_1", "crates_regex::cniguru_0", "crates_regex::cntk_0", "crates_regex::cntk_1", "crates_regex::cobalt_bin_0", "crates_regex::codeowners_0", "crates_regex::codeowners_1", "crates_regex::codeowners_2", "crates_regex::colorizex_0", "crates_regex::colorstring_0", "crates_regex::colorstring_1", "crates_regex::commodore_0", "crates_regex::comrak_0", "crates_regex::conserve_0", "crates_regex::content_blocker_0", "crates_regex::content_blocker_1", "crates_regex::content_blocker_10", "crates_regex::content_blocker_11", "crates_regex::content_blocker_12", "crates_regex::content_blocker_13", "crates_regex::content_blocker_2", "crates_regex::content_blocker_3", "crates_regex::content_blocker_4", "crates_regex::content_blocker_5", "crates_regex::content_blocker_6", "crates_regex::content_blocker_7", "crates_regex::content_blocker_9", "crates_regex::content_blocker_8", "crates_regex::corollary_0", "crates_regex::corollary_1", "crates_regex::cosmogony_0", "crates_regex::cpp_to_rust_0", "crates_regex::cpp_to_rust_1", "crates_regex::cpp_to_rust_2", "crates_regex::cpp_to_rust_3", "crates_regex::cpp_to_rust_4", "crates_regex::cpp_to_rust_5", "crates_regex::cpp_to_rust_generator_0", "crates_regex::cpp_to_rust_generator_1", "crates_regex::cpp_to_rust_generator_2", "crates_regex::cpp_to_rust_generator_3", "crates_regex::cpp_to_rust_generator_4", "crates_regex::cpp_to_rust_generator_5", "crates_regex::cron_rs_0", "crates_regex::d20_0", "crates_regex::dash2html_0", "crates_regex::dash2html_1", "crates_regex::db_accelerate_0", "crates_regex::db_accelerate_1", "crates_regex::deb_version_0", "crates_regex::debcargo_0", "crates_regex::debcargo_1", "crates_regex::diesel_cli_0", "crates_regex::dishub_0", "crates_regex::djangohashers_0", "crates_regex::dok_0", "crates_regex::dono_0", "crates_regex::dono_1", "crates_regex::dono_2", "crates_regex::drill_0", "crates_regex::duration_parser_0", "crates_regex::dutree_0", "crates_regex::dvb_1", "crates_regex::dvb_0", "crates_regex::dvb_2", "crates_regex::editorconfig_0", "crates_regex::editorconfig_1", "crates_regex::editorconfig_2", "crates_regex::editorconfig_3", "crates_regex::editorconfig_4", "crates_regex::editorconfig_5", "crates_regex::editorconfig_6", "crates_regex::editorconfig_7", "crates_regex::editorconfig_8", "crates_regex::edmunge_0", "crates_regex::egc_0", "crates_regex::egg_mode_text_0", "crates_regex::eliza_0", "crates_regex::eliza_1", "crates_regex::eliza_2", "crates_regex::emojicons_0", "crates_regex::emote_0", "crates_regex::epub_0", "crates_regex::ethcore_logger_0", "crates_regex::evalrs_0", "crates_regex::evalrs_1", "crates_regex::evalrs_2", "crates_regex::evalrs_3", "crates_regex::eve_0", "crates_regex::extrahop_0", "crates_regex::faker_0", "crates_regex::faker_1", "crates_regex::faker_10", "crates_regex::faker_11", "crates_regex::faker_2", "crates_regex::faker_3", "crates_regex::faker_4", "crates_regex::faker_5", "crates_regex::faker_6", "crates_regex::faker_7", "crates_regex::faker_8", "crates_regex::faker_9", "crates_regex::fancy_prompt_0", "crates_regex::fancy_prompt_1", "crates_regex::fancy_regex_0", "crates_regex::fancy_regex_1", "crates_regex::fancy_regex_2", "crates_regex::fanta_0", "crates_regex::fanta_cli_0", "crates_regex::fanta_cli_1", "crates_regex::fblog_0", "crates_regex::fblog_1", "crates_regex::feaders_0", "crates_regex::feaders_1", "crates_regex::feaders_2", "crates_regex::feaders_3", "crates_regex::feaders_4", "crates_regex::file_logger_0", "crates_regex::file_scanner_0", "crates_regex::file_scanner_1", "crates_regex::file_scanner_2", "crates_regex::file_scanner_3", "crates_regex::file_scanner_4", "crates_regex::file_sniffer_0", "crates_regex::file_sniffer_1", "crates_regex::file_sniffer_2", "crates_regex::file_sniffer_3", "crates_regex::file_sniffer_4", "crates_regex::findr_0", "crates_regex::findr_1", "crates_regex::findr_2", "crates_regex::flow_0", "crates_regex::flow_1", "crates_regex::flow_2", "crates_regex::flow_3", "crates_regex::form_checker_0", "crates_regex::form_checker_1", "crates_regex::fractal_matrix_api_0", "crates_regex::fritzbox_logs_0", "crates_regex::fs_eventbridge_0", "crates_regex::fselect_0", "crates_regex::fselect_1", "crates_regex::ftp_0", "crates_regex::ftp_1", "crates_regex::ftp_2", "crates_regex::fungi_lang_0", "crates_regex::gate_build_0", "crates_regex::genact_0", "crates_regex::genact_1", "crates_regex::generate_nix_pkg_0", "crates_regex::generate_nix_pkg_1", "crates_regex::generic_dns_update_0", "crates_regex::generic_dns_update_1", "crates_regex::generic_dns_update_2", "crates_regex::generic_dns_update_3", "crates_regex::generic_dns_update_4", "crates_regex::generic_dns_update_5", "crates_regex::geochunk_0", "crates_regex::ger_0", "crates_regex::ger_1", "crates_regex::ggp_rs_0", "crates_regex::ggp_rs_1", "crates_regex::git2_codecommit_0", "crates_regex::git_find_0", "crates_regex::git_journal_0", "crates_regex::git_shell_enforce_directory_0", "crates_regex::git_workarea_0", "crates_regex::gitlab_api_0", "crates_regex::gl_helpers_0", "crates_regex::gl_helpers_1", "crates_regex::glossy_codegen_0", "crates_regex::glossy_codegen_1", "crates_regex::glossy_codegen_2", "crates_regex::glossy_codegen_3", "crates_regex::glossy_codegen_4", "crates_regex::glr_parser_0", "crates_regex::glr_parser_1", "crates_regex::glr_parser_2", "crates_regex::gluster_0", "crates_regex::gluster_1", "crates_regex::government_id_0", "crates_regex::graphql_idl_parser_0", "crates_regex::graphql_idl_parser_1", "crates_regex::graphql_idl_parser_10", "crates_regex::graphql_idl_parser_11", "crates_regex::graphql_idl_parser_12", "crates_regex::graphql_idl_parser_13", "crates_regex::graphql_idl_parser_14", "crates_regex::graphql_idl_parser_15", "crates_regex::graphql_idl_parser_16", "crates_regex::graphql_idl_parser_17", "crates_regex::graphql_idl_parser_18", "crates_regex::graphql_idl_parser_19", "crates_regex::graphql_idl_parser_2", "crates_regex::graphql_idl_parser_3", "crates_regex::graphql_idl_parser_4", "crates_regex::graphql_idl_parser_5", "crates_regex::graphql_idl_parser_6", "crates_regex::graphql_idl_parser_7", "crates_regex::graphql_idl_parser_8", "crates_regex::graphql_idl_parser_9", "crates_regex::grimoire_0", "crates_regex::haikunator_0", "crates_regex::haikunator_1", "crates_regex::haikunator_2", "crates_regex::haikunator_3", "crates_regex::haikunator_4", "crates_regex::haikunator_5", "crates_regex::haikunator_6", "crates_regex::handlebars_0", "crates_regex::hoodlum_0", "crates_regex::html2md_0", "crates_regex::html2md_1", "crates_regex::html2md_2", "crates_regex::html2md_3", "crates_regex::hueclient_0", "crates_regex::hueclient_1", "crates_regex::hueclient_2", "crates_regex::hueclient_3", "crates_regex::hyperscan_0", "crates_regex::hyperscan_1", "crates_regex::hyperscan_2", "crates_regex::hyperscan_3", "crates_regex::iban_validate_0", "crates_regex::ignore_0", "crates_regex::image_base64_0", "crates_regex::image_base64_1", "crates_regex::image_base64_2", "crates_regex::imap_0", "crates_regex::indradb_lib_0", "crates_regex::ipaddress_0", "crates_regex::ipaddress_1", "crates_regex::ipaddress_2", "crates_regex::iptables_0", "crates_regex::isbnid_0", "crates_regex::isbnid_1", "crates_regex::ispc_0", "crates_regex::java_properties_0", "crates_regex::java_properties_1", "crates_regex::java_properties_2", "crates_regex::jieba_rs_0", "crates_regex::jieba_rs_1", "crates_regex::jieba_rs_2", "crates_regex::jieba_rs_3", "crates_regex::jieba_rs_4", "crates_regex::jieba_rs_5", "crates_regex::joseki_0", "crates_regex::json_pointer_0", "crates_regex::json_pointer_1", "crates_regex::just_0", "crates_regex::kailua_syntax_0", "crates_regex::kailua_syntax_1", "crates_regex::karaconv_0", "crates_regex::katana_0", "crates_regex::katana_1", "crates_regex::katana_10", "crates_regex::katana_11", "crates_regex::katana_12", "crates_regex::katana_2", "crates_regex::katana_3", "crates_regex::katana_4", "crates_regex::katana_5", "crates_regex::katana_6", "crates_regex::katana_7", "crates_regex::katana_8", "crates_regex::katana_9", "crates_regex::kbgpg_0", "crates_regex::kefia_0", "crates_regex::kryptos_0", "crates_regex::kvvliveapi_0", "crates_regex::lalrpop_0", "crates_regex::lalrpop_snap_0", "crates_regex::libimagentrytag_0", "crates_regex::libimaginteraction_0", "crates_regex::libimaginteraction_1", "crates_regex::libimagutil_0", "crates_regex::libimagutil_1", "crates_regex::limonite_0", "crates_regex::linky_0", "crates_regex::linky_1", "crates_regex::linux_ip_0", "crates_regex::linux_ip_1", "crates_regex::linux_ip_2", "crates_regex::linux_ip_3", "crates_regex::linux_ip_4", "crates_regex::linux_ip_5", "crates_regex::linux_ip_6", "crates_regex::linux_ip_7", "crates_regex::linux_ip_8", "crates_regex::linux_ip_9", "crates_regex::lit_0", "crates_regex::lit_1", "crates_regex::lit_2", "crates_regex::little_boxes_0", "crates_regex::lorikeet_0", "crates_regex::luther_0", "crates_regex::magnet_app_0", "crates_regex::magnet_more_0", "crates_regex::mallumo_0", "crates_regex::mallumo_1", "crates_regex::mallumo_2", "crates_regex::markifier_0", "crates_regex::mbutiles_0", "crates_regex::media_filename_0", "crates_regex::media_filename_1", "crates_regex::media_filename_2", "crates_regex::media_filename_3", "crates_regex::media_filename_4", "crates_regex::media_filename_5", "crates_regex::media_filename_6", "crates_regex::media_filename_7", "crates_regex::media_filename_8", "crates_regex::media_filename_9", "crates_regex::migrant_lib_0", "crates_regex::migrant_lib_1", "crates_regex::migrant_lib_2", "crates_regex::minifier_0", "crates_regex::minifier_1", "crates_regex::minifier_2", "crates_regex::minifier_3", "crates_regex::minifier_4", "crates_regex::minifier_5", "crates_regex::minifier_7", "crates_regex::minifier_6", "crates_regex::minifier_8", "crates_regex::minipre_0", "crates_regex::mob_0", "crates_regex::mongo_rub_0", "crates_regex::monger_0", "crates_regex::mozversion_0", "crates_regex::multirust_rs_0", "crates_regex::mysql_common_0", "crates_regex::mysql_common_1", "crates_regex::n5_0", "crates_regex::nail_0", "crates_regex::nail_1", "crates_regex::nereon_0", "crates_regex::next_episode_0", "crates_regex::nginx_config_0", "crates_regex::nickel_0", "crates_regex::nickel_1", "crates_regex::nlp_tokenize_0", "crates_regex::nodes_0", "crates_regex::nomi_0", "crates_regex::not_stakkr_0", "crates_regex::notetxt_0", "crates_regex::numbat_0", "crates_regex::oatie_0", "crates_regex::ohmers_0", "crates_regex::ommui_string_patterns_0", "crates_regex::ommui_string_patterns_1", "crates_regex::opcua_types_0", "crates_regex::opcua_types_1", "crates_regex::open_read_later_0", "crates_regex::orm_0", "crates_regex::os_type_0", "crates_regex::os_type_1", "crates_regex::os_type_2", "crates_regex::os_type_3", "crates_regex::os_type_4", "crates_regex::os_type_5", "crates_regex::os_type_6", "crates_regex::os_type_7", "crates_regex::ovpnfile_0", "crates_regex::ovpnfile_1", "crates_regex::ovpnfile_2", "crates_regex::pact_matching_0", "crates_regex::pact_matching_1", "crates_regex::pact_matching_2", "crates_regex::pact_verifier_0", "crates_regex::pangu_0", "crates_regex::pangu_1", "crates_regex::parser_haskell_0", "crates_regex::parser_haskell_1", "crates_regex::parser_haskell_2", "crates_regex::parser_haskell_3", "crates_regex::parser_haskell_4", "crates_regex::pew_0", "crates_regex::pew_1", "crates_regex::phile_0", "crates_regex::phile_1", "crates_regex::phile_2", "crates_regex::phone_number_0", "crates_regex::phone_number_1", "crates_regex::phone_number_2", "crates_regex::phone_number_3", "crates_regex::phonenumber_0", "crates_regex::phonenumber_1", "crates_regex::phonenumber_2", "crates_regex::phonenumber_3", "crates_regex::phonenumber_4", "crates_regex::phonenumber_5", "crates_regex::phonenumber_6", "crates_regex::phonenumber_7", "crates_regex::pinyin_0", "crates_regex::pinyin_1", "crates_regex::pippin_0", "crates_regex::pippin_1", "crates_regex::pippin_2", "crates_regex::pippin_3", "crates_regex::pippin_4", "crates_regex::pippin_5", "crates_regex::pleingres_sql_plugin_0", "crates_regex::pnet_macros_0", "crates_regex::po_0", "crates_regex::poe_superfilter_0", "crates_regex::poke_a_mango_0", "crates_regex::polk_0", "crates_regex::pop3_0", "crates_regex::pop3_1", "crates_regex::pop3_2", "crates_regex::pop3_3", "crates_regex::pop3_4", "crates_regex::pop3_5", "crates_regex::pop3_6", "crates_regex::pop3_7", "crates_regex::pop3_rs_0", "crates_regex::pop3_rs_1", "crates_regex::pop3_rs_2", "crates_regex::pop3_rs_3", "crates_regex::process_queue_0", "crates_regex::pronghorn_0", "crates_regex::protocol_ftp_client_0", "crates_regex::protocol_ftp_client_1", "crates_regex::protocol_ftp_client_2", "crates_regex::protocol_ftp_client_3", "crates_regex::protocol_ftp_client_4", "crates_regex::protocol_ftp_client_5", "crates_regex::protocol_ftp_client_6", "crates_regex::pusher_0", "crates_regex::pusher_1", "crates_regex::qasm_0", "crates_regex::qt_generator_0", "crates_regex::qt_generator_1", "crates_regex::queryst_0", "crates_regex::queryst_1", "crates_regex::qui_vive_0", "crates_regex::qui_vive_1", "crates_regex::qui_vive_2", "crates_regex::qui_vive_3", "crates_regex::qui_vive_4", "crates_regex::qui_vive_5", "crates_regex::qui_vive_6", "crates_regex::rafy_0", "crates_regex::rake_0", "crates_regex::rargs_0", "crates_regex::rargs_1", "crates_regex::rargs_2", "crates_regex::rargs_3", "crates_regex::rargs_4", "crates_regex::raven_0", "crates_regex::reaper_0", "crates_regex::recursive_disassembler_0", "crates_regex::regex_cache_0", "crates_regex::regex_cache_1", "crates_regex::regex_cache_2", "crates_regex::regex_cache_3", "crates_regex::regex_cache_4", "crates_regex::regex_decode_0", "crates_regex::regex_decode_1", "crates_regex::regex_decode_10", "crates_regex::regex_decode_11", "crates_regex::regex_decode_12", "crates_regex::regex_decode_13", "crates_regex::regex_decode_2", "crates_regex::regex_decode_3", "crates_regex::regex_decode_4", "crates_regex::regex_decode_5", "crates_regex::regex_decode_6", "crates_regex::regex_decode_7", "crates_regex::regex_decode_8", "crates_regex::regex_decode_9", "crates_regex::regex_dfa_0", "crates_regex::remake_0", "crates_regex::renvsubst_0", "crates_regex::renvsubst_1", "crates_regex::renvsubst_2", "crates_regex::retdec_0", "crates_regex::rexpect_0", "crates_regex::rexpect_1", "crates_regex::rexpect_2", "crates_regex::rfc822_sanitizer_0", "crates_regex::rfc822_sanitizer_1", "crates_regex::ripgrep_0", "crates_regex::riquid_0", "crates_regex::riquid_1", "crates_regex::risp_0", "crates_regex::risp_1", "crates_regex::risp_2", "crates_regex::risp_3", "crates_regex::rogcat_0", "crates_regex::rogcat_1", "crates_regex::rogcat_2", "crates_regex::rpi_info_0", "crates_regex::rpi_info_1", "crates_regex::rs_jsonpath_0", "crates_regex::rsure_0", "crates_regex::rtag_0", "crates_regex::rtag_1", "crates_regex::rtag_2", "crates_regex::rtag_3", "crates_regex::rtow_0", "crates_regex::ruma_identifiers_0", "crates_regex::rumblebars_0", "crates_regex::rumblebars_1", "crates_regex::rumblebars_2", "crates_regex::rumblebars_3", "crates_regex::rumblebars_4", "crates_regex::rural_0", "crates_regex::rural_1", "crates_regex::rural_2", "crates_regex::rural_3", "crates_regex::rusoto_credential_0", "crates_regex::rusqbin_0", "crates_regex::rusqbin_1", "crates_regex::rust_enum_derive_0", "crates_regex::rust_enum_derive_1", "crates_regex::rust_enum_derive_2", "crates_regex::rust_enum_derive_3", "crates_regex::rust_inbox_0", "crates_regex::rust_inbox_1", "crates_regex::rust_inbox_2", "crates_regex::rust_inbox_3", "crates_regex::rust_inbox_4", "crates_regex::rust_inbox_5", "crates_regex::rust_inbox_6", "crates_regex::rust_inbox_7", "crates_regex::rust_inbox_8", "crates_regex::rust_inbox_9", "crates_regex::rust_install_0", "crates_regex::rustache_0", "crates_regex::rustache_lists_0", "crates_regex::rustfilt_0", "crates_regex::rustfmt_0", "crates_regex::rustfmt_core_0", "crates_regex::rustfmt_core_1", "crates_regex::rustfmt_core_2", "crates_regex::rustfmt_core_3", "crates_regex::rustfmt_nightly_0", "crates_regex::rustfmt_nightly_1", "crates_regex::rustml_0", "crates_regex::rustml_1", "crates_regex::rustml_2", "crates_regex::rustsourcebundler_0", "crates_regex::rustsourcebundler_1", "crates_regex::rvsim_0", "crates_regex::rvue_0", "crates_regex::rvue_1", "crates_regex::rvue_2", "crates_regex::rvue_3", "crates_regex::rvue_4", "crates_regex::sabisabi_0", "crates_regex::sabisabi_1", "crates_regex::salt_compressor_0", "crates_regex::sassers_0", "crates_regex::scarlet_0", "crates_regex::screenruster_saver_fractal_0", "crates_regex::sentiment_0", "crates_regex::sentiment_1", "crates_regex::sentry_0", "crates_regex::serde_hjson_0", "crates_regex::serde_hjson_1", "crates_regex::serde_hjson_2", "crates_regex::serde_odbc_0", "crates_regex::serial_key_0", "crates_regex::sgf_0", "crates_regex::sgf_1", "crates_regex::sgf_2", "crates_regex::sgf_3", "crates_regex::shadowsocks_0", "crates_regex::shellwords_0", "crates_regex::shellwords_1", "crates_regex::shkeleton_0", "crates_regex::shush_0", "crates_regex::skim_0", "crates_regex::skim_1", "crates_regex::skim_10", "crates_regex::skim_11", "crates_regex::skim_12", "crates_regex::skim_2", "crates_regex::skim_3", "crates_regex::skim_4", "crates_regex::skim_5", "crates_regex::skim_6", "crates_regex::skim_7", "crates_regex::skim_8", "crates_regex::skim_9", "crates_regex::slippy_map_tiles_0", "crates_regex::slippy_map_tiles_1", "crates_regex::slippy_map_tiles_2", "crates_regex::smtp2go_0", "crates_regex::sonos_0", "crates_regex::space_email_api_0", "crates_regex::spaceslugs_0", "crates_regex::spaceslugs_1", "crates_regex::spaceslugs_2", "crates_regex::spaceslugs_3", "crates_regex::split_aud_0", "crates_regex::split_aud_1", "crates_regex::spotrust_0", "crates_regex::spreadsheet_textconv_0", "crates_regex::spreadsheet_textconv_1", "crates_regex::spreadsheet_textconv_2", "crates_regex::ssb_common_0", "crates_regex::ssb_common_1", "crates_regex::ssb_common_2", "crates_regex::stache_0", "crates_regex::steamid_ng_0", "crates_regex::steamid_ng_1", "crates_regex::sterling_0", "crates_regex::strscan_0", "crates_regex::strscan_1", "crates_regex::strscan_2", "crates_regex::strscan_3", "crates_regex::strscan_4", "crates_regex::strukt_0", "crates_regex::substudy_0", "crates_regex::substudy_1", "crates_regex::substudy_2", "crates_regex::substudy_3", "crates_regex::substudy_4", "crates_regex::svgrep_0", "crates_regex::symbolic_debuginfo_0", "crates_regex::symbolic_minidump_0", "crates_regex::systemfd_0", "crates_regex::td_client_0", "crates_regex::teensy_0", "crates_regex::telescreen_0", "crates_regex::tempus_fugit_0", "crates_regex::termimage_0", "crates_regex::thieves_cant_0", "crates_regex::thruster_cli_0", "crates_regex::tight_0", "crates_regex::tight_1", "crates_regex::timespan_0", "crates_regex::timespan_2", "crates_regex::timespan_1", "crates_regex::timespan_3", "crates_regex::timespan_4", "crates_regex::timmy_0", "crates_regex::timmy_1", "crates_regex::timmy_2", "crates_regex::timmy_3", "crates_regex::timmy_4", "crates_regex::tin_drummer_0", "crates_regex::tin_drummer_1", "crates_regex::tin_drummer_2", "crates_regex::tin_drummer_3", "crates_regex::tin_drummer_4", "crates_regex::tin_drummer_5", "crates_regex::tin_drummer_6", "crates_regex::tin_drummer_7", "crates_regex::tin_summer_0", "crates_regex::tinfo_0", "crates_regex::tinfo_1", "crates_regex::titlecase_0", "crates_regex::tk_carbon_0", "crates_regex::tk_carbon_1", "crates_regex::todo_txt_0", "crates_regex::toml_query_0", "crates_regex::tsm_sys_0", "crates_regex::tweetr_0", "crates_regex::ubiquity_0", "crates_regex::ubiquity_1", "crates_regex::ubiquity_2", "crates_regex::ucd_parse_0", "crates_regex::ultrastar_txt_0", "crates_regex::ultrastar_txt_1", "crates_regex::ultrastar_txt_2", "crates_regex::ultrastar_txt_3", "crates_regex::ultrastar_txt_4", "crates_regex::unicode_names2_macros_0", "crates_regex::unidiff_0", "crates_regex::unidiff_1", "crates_regex::unidiff_2", "crates_regex::unidiff_3", "crates_regex::upm_lib_0", "crates_regex::urdf_rs_0", "crates_regex::uritemplate_0", "crates_regex::url_match_0", "crates_regex::url_match_1", "crates_regex::validator_derive_0", "crates_regex::validator_derive_1", "crates_regex::validator_derive_2", "crates_regex::vat_0", "crates_regex::vat_1", "crates_regex::vat_10", "crates_regex::vat_11", "crates_regex::vat_12", "crates_regex::vat_13", "crates_regex::vat_14", "crates_regex::vat_15", "crates_regex::vat_16", "crates_regex::vat_17", "crates_regex::vat_18", "crates_regex::vat_19", "crates_regex::vat_2", "crates_regex::vat_20", "crates_regex::vat_21", "crates_regex::vat_22", "crates_regex::vat_23", "crates_regex::vat_24", "crates_regex::vat_25", "crates_regex::vat_26", "crates_regex::vat_27", "crates_regex::vat_28", "crates_regex::vat_29", "crates_regex::vat_3", "crates_regex::vat_30", "crates_regex::vat_31", "crates_regex::vat_32", "crates_regex::vat_4", "crates_regex::vat_5", "crates_regex::vat_6", "crates_regex::vat_7", "crates_regex::vat_8", "crates_regex::vat_9", "crates_regex::verex_0", "crates_regex::verilog_0", "crates_regex::victoria_dom_0", "crates_regex::vobsub_0", "crates_regex::voidmap_0", "crates_regex::voidmap_1", "crates_regex::voidmap_10", "crates_regex::voidmap_11", "crates_regex::voidmap_12", "crates_regex::voidmap_13", "crates_regex::voidmap_14", "crates_regex::voidmap_15", "crates_regex::voidmap_16", "crates_regex::voidmap_17", "crates_regex::voidmap_18", "crates_regex::voidmap_19", "crates_regex::voidmap_2", "crates_regex::voidmap_3", "crates_regex::voidmap_4", "crates_regex::voidmap_5", "crates_regex::voidmap_6", "crates_regex::voidmap_7", "crates_regex::voidmap_8", "crates_regex::voidmap_9", "crates_regex::vterm_sys_0", "crates_regex::waltz_0", "crates_regex::warheadhateus_0", "crates_regex::warheadhateus_1", "crates_regex::warheadhateus_2", "crates_regex::warheadhateus_3", "crates_regex::weave_0", "crates_regex::webgl_generator_0", "crates_regex::webgl_generator_1", "crates_regex::webscale_0", "crates_regex::weld_0", "crates_regex::weld_1", "crates_regex::weld_10", "crates_regex::weld_2", "crates_regex::weld_3", "crates_regex::weld_4", "crates_regex::weld_5", "crates_regex::weld_6", "crates_regex::weld_7", "crates_regex::weld_8", "crates_regex::weld_9", "crates_regex::wemo_0", "crates_regex::wifiscanner_0", "crates_regex::wifiscanner_1", "crates_regex::wifiscanner_2", "crates_regex::wikibase_0", "crates_regex::woothee_0", "crates_regex::woothee_1", "crates_regex::woothee_10", "crates_regex::woothee_11", "crates_regex::woothee_12", "crates_regex::woothee_13", "crates_regex::woothee_14", "crates_regex::woothee_15", "crates_regex::woothee_16", "crates_regex::woothee_17", "crates_regex::woothee_18", "crates_regex::woothee_19", "crates_regex::woothee_2", "crates_regex::woothee_20", "crates_regex::woothee_21", "crates_regex::woothee_22", "crates_regex::woothee_23", "crates_regex::woothee_24", "crates_regex::woothee_25", "crates_regex::woothee_26", "crates_regex::woothee_27", "crates_regex::woothee_28", "crates_regex::woothee_29", "crates_regex::woothee_3", "crates_regex::woothee_30", "crates_regex::woothee_31", "crates_regex::woothee_32", "crates_regex::woothee_33", "crates_regex::woothee_34", "crates_regex::woothee_35", "crates_regex::woothee_36", "crates_regex::woothee_37", "crates_regex::woothee_38", "crates_regex::woothee_39", "crates_regex::woothee_4", "crates_regex::woothee_40", "crates_regex::woothee_41", "crates_regex::woothee_42", "crates_regex::woothee_43", "crates_regex::woothee_5", "crates_regex::woothee_6", "crates_regex::woothee_7", "crates_regex::woothee_8", "crates_regex::woothee_9", "crates_regex::word_replace_0", "crates_regex::wordcount_0", "crates_regex::yaml_0", "crates_regex::yaml_1", "crates_regex::yaml_10", "crates_regex::yaml_2", "crates_regex::yaml_3", "crates_regex::yaml_4", "crates_regex::yaml_5", "crates_regex::yaml_6", "crates_regex::yaml_7", "crates_regex::yaml_8", "crates_regex::yaml_9", "crates_regex::yobot_0", "crates_regex::yobot_1", "crates_regex::yobot_2", "crates_regex::yobot_3", "crates_regex::youtube_downloader_0", "crates_regex::yubibomb_0", "allow_octal", "big_empty_reps_chain_regex_fails", "big_empty_regex_fails", "big_zero_reps_regex_fails", "disallow_octal", "disallow_non_utf8", "misc::prefix_literal_nomatch", "misc::prefix_literal_match", "misc::terminates", "misc::one_literal_edge", "oibits", "regex_is_reasonably_small", "oibits_regression", "regression_i969", "regression_fuzz::empty_any_errors_no_panic", "regression_fuzz::todo", "shortest_match::t02", "shortest_match::t01", "empty_alt_regex_fails", "regression_fuzz::big_regex_fails_to_compile" ]
[]
[]
rust-lang/regex
2023-03-24T23:57:50Z
rust-lang__regex-970
"diff --git a/tests/test_default.rs b/tests/test_default.rs\n--- a/tests/test_default.rs\n+++ b/test(...TRUNCATED)
"diff --git a/src/exec.rs b/src/exec.rs\n--- a/src/exec.rs\n+++ b/src/exec.rs\n@@ -459,7 +459,7 @@ i(...TRUNCATED)
[ "969" ]
970
"Index out of bounds panic when using `shortest_match_at`, `is_match_at` with end-anchored regex\n##(...TRUNCATED)
1.7
32fed9429eafba0ae92a64b01796a0c5a75b88c8
fd1d95b1bd15db8a31efa82585a1842ad34091f1
[ "regression_i969" ]
["compile::tests::byte_classes","compile::tests::full_byte_classes","dfa::tests::prop_read_write_i32(...TRUNCATED)
[]
[]
rust-lang/regex
2022-07-05T16:35:20Z
rust-lang__regex-879
"diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml\n--- a/.github/workflows/ci.yml\n+(...TRUNCATED)
"\nIf this was really added in Unicode 14, then this makes sense since I don't believe the regex cra(...TRUNCATED)
"diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml\n--- a/.github/workflows/ci.yml\n+(...TRUNCATED)
[ "878", "877" ]
879
"Update Unicode tables to version 14.0\nThis PR is related to #877. \r\n\r\nWhile working on the nex(...TRUNCATED)
1.5
c01b6338046f495ad875ecf3dfa5e9b39eada4ea
5e98788947b28da3da27f4e156b877eb0cb1593e
["unicode::uni_vithkuqi_literal_lower","unicode::uni_vithkuqi_word_lower","unicode::uni_vithkuqi_wor(...TRUNCATED)
["compile::tests::byte_classes","compile::tests::full_byte_classes","dfa::tests::prop_read_write_i32(...TRUNCATED)
[]
[]
rust-lang/regex
2022-05-20T17:32:56Z
rust-lang__regex-863
"diff --git a/regex-syntax/src/hir/literal/mod.rs b/regex-syntax/src/hir/literal/mod.rs\n--- a/regex(...TRUNCATED)
"Wow. Yes, this is a bug. I am amazed that this isn't captured by the test suite. Non-greediness its(...TRUNCATED)
"diff --git a/CHANGELOG.md b/CHANGELOG.md\n--- a/CHANGELOG.md\n+++ b/CHANGELOG.md\n@@ -6,6 +6,8 @@ T(...TRUNCATED)
[ "862" ]
863
"Unexpected behavior of ungreedy ?? operator\n#### What version of regex are you using?\r\n\r\n1.5.5(...TRUNCATED)
1.5
88a2a62d861d189faae539990f63cb9cf195bd8c
5e98788947b28da3da27f4e156b877eb0cb1593e
[ "regression::non_greedy_question_literal" ]
["compile::tests::byte_classes","compile::tests::full_byte_classes","dfa::tests::prop_read_write_u32(...TRUNCATED)
[]
[]
rust-lang/regex
2021-03-14T18:23:50Z
rust-lang__regex-752
"diff --git a/tests/test_default.rs b/tests/test_default.rs\n--- a/tests/test_default.rs\n+++ b/test(...TRUNCATED)
This is a dupe of #750.
"diff --git a/CHANGELOG.md b/CHANGELOG.md\n--- a/CHANGELOG.md\n+++ b/CHANGELOG.md\n@@ -1,3 +1,17 @@\(...TRUNCATED)
[ "751" ]
752
"1.44 triggers a stack overflow on Windows\n#### What version of regex are you using?\r\n\r\n1.44\r\(...TRUNCATED)
1.4
951b8b93bbb669e8aa192031a7b66beaa4ea5780
951b8b93bbb669e8aa192031a7b66beaa4ea5780
[ "regex_is_reasonably_small" ]
["src/lib.rs - (line 26)","src/lib.rs - (line 69)","src/re_bytes.rs - re_bytes::Replacer::by_ref (li(...TRUNCATED)
[]
[]
rust-lang/regex
2020-01-30T22:43:04Z
rust-lang__regex-641
"diff --git a/regex-syntax/src/hir/translate.rs b/regex-syntax/src/hir/translate.rs\n--- a/regex-syn(...TRUNCATED)
"diff --git a/regex-syntax/src/hir/translate.rs b/regex-syntax/src/hir/translate.rs\n--- a/regex-syn(...TRUNCATED)
[ "640" ]
641
"Flag effect remains active outside of current group\nThe [`regex` documentation](https://docs.rs/re(...TRUNCATED)
1.3
2a8ddd0b36095d3810f3556627cd59c5014edd01
96456ddcc91d8d2e98d4b6f32ebd052d879d6a67
[ "regression::flags_are_unset" ]
["src/lib.rs - (line 26)","src/lib.rs - (line 69)","src/re_bytes.rs - re_bytes::Replacer::by_ref (li(...TRUNCATED)
[]
[]
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
1