Skip to content

Commit 9758d52

Browse files
authored
Fix Predicate QLDoc style: reword ecma_named_group_start doc to start with "Holds if"
1 parent 4435279 commit 9758d52

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

cpp/ql/lib/semmle/code/cpp/regex/internal/ParseRegExp.qll

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,8 +1139,9 @@ class EcmaRegExp extends RegExp {
11391139
}
11401140

11411141
/**
1142-
* `(?<name>...)` – ECMAScript named capturing group.
1143-
* The group name spans from `start+3` to the `>` character.
1142+
* Holds if `[start, end)` is the opening delimiter of an ECMAScript named
1143+
* capturing group `(?<name>...)`. The group name spans from `start+3` to
1144+
* the `>` character.
11441145
*/
11451146
override predicate ecma_named_group_start(int start, int end) {
11461147
this.isGroupStart(start) and

0 commit comments

Comments
 (0)