Skip to content

Commit 2bf4caa

Browse files
committed
docs(check-examples): allow for whitespace at end
1 parent 4c11c39 commit 2bf4caa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.README/rules/check-examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ syntax highlighting). The following options determine whether a given
2626
so you may wish to use `(?:...)` groups where you do not wish the
2727
first such group treated as one to include. If no parenthetical group
2828
exists or matches, the whole matching expression will be used.
29-
An example might be ````"^```(?:js|javascript)([\\s\\S]*)```$"````
29+
An example might be ````"^```(?:js|javascript)([\\s\\S]*)```\s*$"````
3030
to only match explicitly fenced JavaScript blocks.
3131
* `rejectExampleCodeRegex` - Regex blacklist which rejects
3232
non-lintable examples (has priority over `exampleCodeRegex`). An example

0 commit comments

Comments
 (0)