What version of myst-parser are you using?
3.0.0
What version dependencies are you using?
sphinx=7.3.7
docutils=0.20.1
What operating system are you using?
Linux
Describe the Bug
The glob patterns defined in a toctree directive do not work with 3.0.0 anymore.
Expected Behavior
No response
To Reproduce
```{toctree}
---
maxdepth: 2
caption: Contents
glob:
---
path*/index
pages/**
*/index
```