Closed hudsonm62 closed 4 months ago
Yes they are glob patterns, not regex patterns. It seems you need to look into using patterns ([
and ]
):
The exclamation mark can negate a pattern that it is put in front of. In the character class example I shared above, we used the pattern
[CBR]at
.
https://www.malikbrowne.com/blog/a-beginners-guide-glob-patterns/
I'm excluding all my
index.md
files (as these are for the most part "home" pages), however there's one or two I want to keep the dates on.Sometimes, you can just prefix
!
to "negate" or "ignore" a file or pattern (like in a .gitignore for example). But doesn't seem to work here (assuming it's because it relies on glob??)Not sure if this is possible already and I'm just going about it the wrong way? but would be great if I could negate certain patterns/specific files from the
exclude
.