We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 007e7d5 commit bcc69c1Copy full SHA for bcc69c1
engine/src/rhs_types/regex/imp_real.rs
@@ -1,4 +1,5 @@
1
use regex_automata::MatchKind;
2
+use regex_automata::nfa::thompson::WhichCaptures;
3
4
use super::Error;
5
use crate::{ParserSettings, RegexFormat};
@@ -33,6 +34,7 @@ impl Regex {
33
34
.onepass(false)
35
.dfa_size_limit(Some(settings.regex_compiled_size_limit))
36
.hybrid_cache_capacity(settings.regex_dfa_size_limit)
37
+ .which_captures(WhichCaptures::Implicit)
38
}
39
40
/// Compiles a regular expression.
0 commit comments