On Fri, Aug 05, 2022 at 07:19:34AM -0400, Jude DaShiell wrote: > Very basic question ahead. In man muttrc subscribe [group-name] > [regexp] [regexp] has two regexp entries beside it. how are those > used correctly to subscribe mutt-users and other groups?
It's a bit unclear what you are asking. If you are asking "what does 'regexp'" mean, it's short for "regular expression". "regex" is also short for "regular expression". For more information, try entering man 7 regex at your command line. If, instead, you are asking, why are there *two* "[regexp]" entries in the syntax of the "subscribe" command, note the correct syntax: subscribe [-group name] regexp [ regexp ... ] The square brackets indicate optional paramenters. I guess (but others may correct me) that reason the "subscribe" command allows for more than one regular expression as its parameters, is to allow for cases where, for instance, the user wishes to inform Mutt of subscriptions to: - multiple mailing lists, by using a single invocation of the "subscribe" command; or - a single mailing list that (unusually) uses multiple different list addresses. Sam