2024-09-15 04:28:34 +0000, Niu Danny via austin-group-l at The Open Group: > I didn't mean which bug introduced that feature. I meant which > **Implementation** did we base it on. [...]
I can't answer that, but FWIW ast-open's regexps (as used by ksh93 for instance) have had REG_MINIMAL since 1995 which might be were it originated from. See https://github.com/ksh93/ast-open-archive/blob/2014-12-24/src/cmd/re/RELEASE#L167 > 95-12-21 regex: snarf from Doug; now we have negation and conjunction > regex: REG_MINIMAL converts pattern to pattern&(pattern.+)! [...] > 95-12-04 regex: add REG_SHELL,REG_LEFT,REG_RIGHT and strgrpmatch() > regex: add REG_MINIMAL placeholder -- Stephane