Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RegEx glob mode?



Something that I'd love to see in a shell is a mode to replace normal
globbing with regex matching. So that things like:

ls (foo|bar)?baz.*

would work.

I'm sure it'd confuse a lot of people (why doesn't ls foo* match foobaz?)
but as an option, I think it'd be extremely popular, particularly for
certain shell scripts...

[cc me with discussion? I'm not on the list.]

-Larry



Messages sorted by: Reverse Date, Date, Thread, Author