On Tue, Jul 10, 2018 at 10:50:05AM -0400, Chet Ramey wrote: >> […] However, this indicates to me that bash recognizes \< \> as word >> anchors: > No, it doesn't. It indicates that the system's POSIX regular expression > implementation has extensions.
>> 3. bash evaluates them correctly when used with parameter expansion > No. It passes them to the system's POSIX regexp library function, which > understands them as an extension. A subtle point, which makes sense. It really brings home what the reference manual means by "as in regex3". Thanks for shedding light on this !