Something important that I want to note is that while wildcard patterns are similar to regex patterns, they are not explicitly the same for two main reasons:
Globs are meant to match filenames rather than text
Not all conventions are the same between them (example: * means zero or more copies of the same thing in regex)
They're not the same they have some nuances but are similar!
Quoting something from the post:
They're not the same they have some nuances but are similar!
Thanks Malik! I think i missed that paragraph before!