From 8e6b168730266552a46f51968213637f0e4d539a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 23 Jul 2026 10:15:43 +0000 Subject: [PATCH] C++: Remove lookbehind assertions --- .../semmle/code/cpp/regex/RegexTreeView.qll | 36 ++------------- .../code/cpp/regex/internal/ParseRegExp.qll | 46 +------------------ 2 files changed, 4 insertions(+), 78 deletions(-) diff --git a/cpp/ql/lib/semmle/code/cpp/regex/RegexTreeView.qll b/cpp/ql/lib/semmle/code/cpp/regex/RegexTreeView.qll index 939038dd722..8eef64c9dc0 100644 --- a/cpp/ql/lib/semmle/code/cpp/regex/RegexTreeView.qll +++ b/cpp/ql/lib/semmle/code/cpp/regex/RegexTreeView.qll @@ -991,15 +991,13 @@ private module Impl implements RegexTreeViewSig { } /** - * A zero-width lookahead or lookbehind assertion. + * A zero-width lookahead assertion. * * Examples: * * ``` * (?=\w) * (?!\n) - * (?<=\.) - * (?