Skip to content

Commit af695f3

Browse files
authored
Merge pull request tree-sitter#3310 from DavisVaughan/fix/regex-typo
Swap `\s` for `\\s` in documentation example
2 parents 4cd23ff + 937dfbf commit af695f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/section-2-using-parsers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ Here's an example finding potential documentation comments in C
706706

707707
```scheme
708708
((comment)+ @comment.documentation
709-
(#match? @comment.documentation "^///\s+.*"))
709+
(#match? @comment.documentation "^///\\s+.*"))
710710
```
711711

712712
Here's another example finding Cgo comments to potentially inject with C

0 commit comments

Comments
 (0)