Merge pull request #3310 from DavisVaughan/fix/regex-typo

Swap `\s` for `\\s` in documentation example
This commit is contained in:
Max Brunsfeld 2024-04-21 21:33:39 -07:00 committed by GitHub
commit af695f3c0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -706,7 +706,7 @@ Here's an example finding potential documentation comments in C
```scheme
((comment)+ @comment.documentation
(#match? @comment.documentation "^///\s+.*"))
(#match? @comment.documentation "^///\\s+.*"))
```
Here's another example finding Cgo comments to potentially inject with C