« first day (4442 days earlier)      last day (505 days later) » 

9:17 AM
I wonder whether there are any practical differences between the extended glowing patterns @(...|...|...) and +(...|...|...) in the bash shell? The former matches one of the sub-patterns, while the latter match one or more of the sub-patterns. This does not seem to stop @(...|...|...) from being true when several sub-patterns match.
 
“glowing patterns” are like the * in rm -rf * started in the wrong location, leaving only glowing embers ;-). Either that or the canonical name for globbing patterns during festive season(s)!
 
@StephenKitt :-) I have fat fingers...
 
 
5 hours later…
2:22 PM
@Kusalananda I'm no expert here, but an example of a practical difference could be
[[ foo = +(f|o) ]] && echo +; [[ foo = @(f|o) ]] && echo @
 
 
3 hours later…
5:21 PM
In today's episode of "Jeff can't tell current programming practices apart from word soup", I present: "Seagull Bartender integration using REST APIs and python"
 
5:52 PM
I know what "using" means. Does that count?
 
snort
 
6:51 PM
@fra-san or something like +(foo)bar vs. @(foo)bar. It's the same difference as (foo) vs. (foo)+ in regexes, just the ksh syntax puts the qualifier first and marks that "single instance" explicitly.
 
7:08 PM
@ilkkachu Right. The analogy with regular expressions is helpful.
 

« first day (4442 days earlier)      last day (505 days later) »