From ea29986c4f44c59903f92073a4265d6be4569da8 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com> Date: Tue, 12 May 2026 16:45:50 +0100 Subject: [PATCH] Fix non-US english by using "parentheses" instead of "brackets" Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- actions/ql/lib/codeql/actions/Bash.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/ql/lib/codeql/actions/Bash.qll b/actions/ql/lib/codeql/actions/Bash.qll index 2caf829383c..14ba8f0acf4 100644 --- a/actions/ql/lib/codeql/actions/Bash.qll +++ b/actions/ql/lib/codeql/actions/Bash.qll @@ -793,7 +793,7 @@ module Bash { r1 = "\\[([09azAZ_-]+)\\]" and // The same as above, followed by a quantifier like `+` or `{20}` r2 = r1 + "(\\+|\\{\\d+\\})" and - // The same as above, possibly with brackets around it + // The same as above, possibly with parentheses around it r3 = "\\(?" + r2 + "\\)?" and // The same as above, possibly with a `?` after it r4 = r3 + "\\??"