News for hackers. Stuff that matters.
Re:Show HN: Inshellisense – IDE style shell autocomplete by teddyh on Tuesday November 07, 2023 @05:06AM (#38175116)
No, globs are not regular expressions.

“Globs do not include syntax for the Kleene star which allows multiple repetitions of the preceding part of the expression; thus they are not considered regular expressions, which can describe the full set of regular languages over any given finite alphabet.”

— <https://en.wikipedia.org/w/index.php?title=Glob_(programming...>

Re:Show HN: Inshellisense – IDE style shell autocomplete by neuromanser on Tuesday November 07, 2023 @12:58PM (#38180358)
You're right, normal globs are not regular expressions regardless of syntax. Parent is correct too, ksh globs are regular expressions. See shopt -s extglob in bash, setopt kshglob in zsh (extendedglob for zsh's native, IMO inferior, quantifier syntax).