From 266cde4510faf55b64fcf38366d5b87c99fe10ea Mon Sep 17 00:00:00 2001 From: Rudy Regazzoni <110470341+rudy-regazzoni-sonarsource@users.noreply.github.com> Date: Thu, 27 Mar 2025 10:26:11 +0100 Subject: [PATCH] SONARGO-118 Update S2068 exception category (#4823) --- rules/S2068/go/rule.adoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rules/S2068/go/rule.adoc b/rules/S2068/go/rule.adoc index 3a484fe596..66485d995f 100644 --- a/rules/S2068/go/rule.adoc +++ b/rules/S2068/go/rule.adoc @@ -4,6 +4,10 @@ include::../ask-yourself.adoc[] include::../recommended.adoc[] +=== Exceptions + +* The rule ignores string literals that are used directly in Regexp methods. + == Sensitive Code Example ----