typos/crates/typos-cli/tests/cmd/ignore-block.in
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
..
_typos.toml docs(ref): Add dotall specifier to block ignore 2024-06-04 15:56:21 -04:00
file.ignore docs(ref): Add dotall specifier to block ignore 2024-06-04 15:56:21 -04:00