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 + "\\??"