We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e6206e commit d5bcd14Copy full SHA for d5bcd14
ruby/ql/lib/codeql/ruby/frameworks/data/internal/ApiGraphModels.qll
@@ -413,10 +413,10 @@ predicate isValidNoArgumentTokenInIdentifyingAccessPath(string name) {
413
bindingset[name, argument]
414
predicate isValidTokenArgumentInIdentifyingAccessPath(string name, string argument) {
415
name = ["Argument", "Parameter"] and
416
- argument.regexpMatch("(N-|-)?\\d+(\\.\\.(N-|-)?\\d+)?")
+ argument.regexpMatch("(N-|-)?\\d+(\\.\\.((N-|-)?\\d+)?)?")
417
or
418
name = "WithArity" and
419
- argument.regexpMatch("\\d+(\\.\\.\\d+)?")
+ argument.regexpMatch("\\d+(\\.\\.(\\d+)?)?")
420
421
Specific::isExtraValidTokenArgumentInIdentifyingAccessPath(name, argument)
422
}
0 commit comments