Two asterisks in two pattern languages, meaning different things — and the mistake matches the wrong files.
In a filename pattern the star stands for any run of characters. In a regular expression it does not stand for anything: it repeats whatever came immediately before it, zero or more times. So the glob pattern for 'anything' is a bare star, but the regular expression for 'anything' needs a dot before it. Reading one as the other is a real and consequential error.
Both are asterisks in pattern matching, and they mean different things: the glob star matches any characters, the regular-expression star repeats whatever precedes it.
| Glob wildcard | Kleene star | |
|---|---|---|
| Language | Shell filename patterns | Regular expressions |
| Stands for characters | Yes — any run of them | No — it repeats what precedes it |
| Matches everything alone | Yes | No, it needs something to repeat |
| Named after | — | Stephen Kleene, 1951 |
| Relationship (from Symbolwise's records) | Commonly confused with Kleene star — Both are asterisks in pattern matching, and they mean different things: the glob star matches any characters, the regular-expression star repeats whatever precedes it. | Commonly confused with Glob wildcard — Both are asterisks in pattern matching with different meanings — the glob star stands for characters, this one repeats what precedes it. |
POSIX.1-2024, Shell Command Language
The Open Group / IEEE · retrieved 2026-08-01
Cited for the shell's operator grammar — which characters are operators and what they do — and for nothing outside it. It standardises a notation that already existed rather than inventing one, so records here describe documented practice that POSIX also pins down.
Wikipedia · retrieved 2026-08-01
Tertiary reference. Used for widely-agreed identity, origin and current use, not for contested detail or exact dates.
POSIX.1-2024, Regular Expressions
The Open Group / IEEE · retrieved 2026-08-01
Cited for the metacharacters of basic and extended regular expressions. Later dialects (PCRE, ECMAScript) extend this and diverge from it; where a record describes a construct POSIX does not define, it says so and is typed as documented practice.
Wikipedia · retrieved 2026-08-01
Tertiary reference. Used for widely-agreed identity, origin and current use, not for contested detail or exact dates.
As punctuation the asterisk points at a footnote or marks a required field. In a filename pattern typed at a shell it matches any run of characters, including none — and the shell expands it against real filenames before the command runs, so the command never sees the pattern at all. That expansion is the part people are surprised by.
Both are drawn as one continuous decorative stroke with a closed loop and a tail that crosses back over itself, which is why a description of the shape alone reaches both. The clef is far taller, spans a stave, and its spiral encircles one specific line — that encircled line is the note G, and it is the only reason the shape is drawn where it is.
Check where the dot sits. A dot immediately to the right of the notehead adds half the note's value again — a dotted half note lasts three beats. A dot directly above or below the head means staccato: play it short and detached. One dot, two opposite instructions, and only position distinguishes them.
Look at whether the adult is standing or seated. Baby changing shows an adult leaning over an infant on a table — a facility for changing a nappy. A nursing room shows a seated figure holding an infant — a private space for feeding. They are separate rooms, and signage that conflates them sends people to the wrong one.