Commit graph

2 commits

Author SHA1 Message Date
Noah Pendleton
c7a34fcbe2 docs(ref): Add dotall specifier to block ignore
Needed a `(?s)` to match multiple enclosed newlines. And added a
non-greedy modifier and matching test to prevent double blocks from
causing intermediate lines to be ignored:

```shell
# spellchecker:off
should be ignored
# spellchecker:on
should not be ignored  # without non-greedy, this is also ignored
# spellchecker:off
should be ignored
# spellchecker:on
```
2024-06-04 15:56:21 -04:00
Ed Page
8b57110b76 test(cli): Verify block-ignores via regex 2024-04-03 09:10:34 -05:00