@@ -88,14 +88,12 @@ sherlock!(the_whitespace, r"the\s+\w+", 5410);
8888
8989// How fast can we match everything? This essentially defeats any clever prefix
9090// tricks and just executes the DFA across the entire input.
91- #[ cfg( not( feature = "re-dphobos-dmd" ) ) ]
92- #[ cfg( not( feature = "re-dphobos-ldc" ) ) ]
91+ #[ cfg( not( feature = "re-dphobos" ) ) ]
9392#[ cfg( not( feature = "re-pcre1" ) ) ]
9493#[ cfg( not( feature = "re-pcre2" ) ) ]
9594#[ cfg( not( feature = "re-tcl" ) ) ]
9695sherlock ! ( everything_greedy, r".*" , 13053 ) ;
97- #[ cfg( not( feature = "re-dphobos-dmd" ) ) ]
98- #[ cfg( not( feature = "re-dphobos-ldc" ) ) ]
96+ #[ cfg( not( feature = "re-dphobos" ) ) ]
9997#[ cfg( not( feature = "re-onig" ) ) ]
10098#[ cfg( not( feature = "re-pcre1" ) ) ]
10199#[ cfg( not( feature = "re-pcre2" ) ) ]
@@ -152,15 +150,13 @@ sherlock!(quotes, r#"["'][^"']{0,30}[?!.]["']"#, 767);
152150// Finds all occurrences of Sherlock Holmes at the beginning or end of a line.
153151// The empty assertions defeat any detection of prefix literals, so it's the
154152// lazy DFA the entire way.
155- #[ cfg( not( any( feature = "re-dphobos-dmd" ,
156- feature = "re-dphobos-ldc" ) ) ) ]
153+ #[ cfg( not( feature = "re-dphobos" ) ) ]
157154sherlock ! (
158155 line_boundary_sherlock_holmes,
159156 r"(?m)^Sherlock Holmes|Sherlock Holmes$" ,
160157 34 ) ;
161158// D matches both \r\n and \n as EOL
162- #[ cfg( any( feature = "re-dphobos-dmd" ,
163- feature = "re-dphobos-ldc" ) ) ]
159+ #[ cfg( feature = "re-dphobos" ) ]
164160sherlock ! (
165161 line_boundary_sherlock_holmes,
166162 r"(?m)^Sherlock Holmes|Sherlock Holmes$" ,
0 commit comments