diff --git a/src/engines/hybrid/search.rs b/src/engines/hybrid/search.rs index e8280d2..34bb09d 100644 --- a/src/engines/hybrid/search.rs +++ b/src/engines/hybrid/search.rs @@ -834,6 +834,7 @@ fn init_fwd( MatchError::quit(byte, offset) } StartError::UnsupportedAnchored { mode } => MatchError::unsupported_anchored(mode), + StartError::Cache { .. } => MatchError::gave_up(input.end()), _ => panic!("damm forward compatability"), }) } @@ -860,6 +861,7 @@ fn init_rev( MatchError::quit(byte, offset) } StartError::UnsupportedAnchored { mode } => MatchError::unsupported_anchored(mode), + StartError::Cache { .. } => MatchError::gave_up(input.end()), _ => panic!("damm forward compatability"), }) }