emanuele6 1717673504 learn In POSIX BRE, POSIX ERE, and POSIX glob patterns, using a range expression (e.g. [0-9]) while not "in the POSIX locale" is unspecified behaviour. [a-z] does not necessarily match the characters between a and z in lexicographical order according to the current locale (LC_COLLATE), in fact, in the GNU "en_US.utf-8" locale, 'B' does not match [a-z] even though 'a' < 'b' < 'B' < 'z'.