From 99c461bb1409ad332e6ff2097425ae331bf14b6c Mon Sep 17 00:00:00 2001 From: maze Date: Thu, 9 Oct 2025 15:36:37 +0200 Subject: [PATCH] Docfix: Elaborate on Strict mode --- protocol/doc.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/protocol/doc.go b/protocol/doc.go index de62e27..ed76331 100644 --- a/protocol/doc.go +++ b/protocol/doc.go @@ -16,4 +16,10 @@ // character for wildcard matching. // // The supported magic strings input is documented in the [Match] function. +// +// # Strict mode +// +// Some parser also allow for strict parsing of the protocol, which results in a higher confidence +// score, but it also may lead to more false negatives. If [Strict] mode is enabled, then only the +// detectors that support strict checking will be used for protocol detections. package protocol