Merge pull request #3310 from DavisVaughan/fix/regex-typo
Swap `\s` for `\\s` in documentation example
This commit is contained in:
commit
af695f3c0a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue