Skip to content

Commit f268604

Browse files
Update regex
1 parent 952253d commit f268604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c/common/src/codingstandards/c/Generic.qll

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import cpp
22
import codingstandards.cpp.Macro
33
import codingstandards.cpp.MatchingParenthesis
44

5-
string genericRegexp() { result = ".*_Generic\\s*\\(\\s*(.+),.*" }
5+
string genericRegexp() { result = "\\b_Generic\\s*\\(\\s*(.+),.*" }
66

77
bindingset[input]
88
string deparenthesize(string input) {

0 commit comments

Comments
 (0)