On Thursday, April 13, 2023 10:36:08 PM Greg Wooledge wrote: > Anyway, here's the POSIX documentation section: > > https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#t > ag_18_13 > > And the relevant piece of text: > > [ If an open bracket introduces a bracket expression as in XBD RE > Bracket Expression, except that the <exclamation-mark> character > ( '!' ) shall replace the <circumflex> character ( '^' ) in its > role in a non-matching list in the regular expression notation, it > shall introduce a pattern bracket expression. A bracket expression > starting with an unquoted <circumflex> character produces unspecified > results. Otherwise, '[' shall match the character itself.
Wow -- I thought this was an English language list :-( But seriously, that seems very hard to interpret / understand. -- rhk | No entity has permission to use this email to train an AI. Sig truncated.