Invalid Glob Pattern in project.render
project
A pattern in
project.render is not a valid glob and could not be parsed.
Q-5-15 — Invalid Glob Pattern in project.render
A
project.renderpattern is not a valid glob and matches nothing.
What this means
Every project.render entry is parsed as a glob pattern. This
warning fires when the parse fails, and the message carries the
parser’s reason. The malformed entry contributes nothing; the
rest of the render list still applies.
Why this happens
Two causes account for nearly every occurrence:
**that is not a whole path segment.**means “zero or more directory levels” and must stand alone between slashes.docs/**/*.qmdis valid;docs/a**b.qmdis not.- An unclosed character class.
[0-9]is a class;data/[.csvis a parse error.
How to fix
Rewrite the pattern using the supported vocabulary:
| Syntax | Meaning |
|---|---|
*
|
any characters within one path segment |
?
|
one character, never /
|
**
|
zero or more whole path segments |
[abc], [a-z]
|
character class |
[!abc]
|
negated character class |
[*]
|
a literal *
|