Alvaro Herrera <[email protected]> writes:
> On 2021-Feb-23, Tom Lane wrote:
>> * Create infrastructure to allow treating \w as a character class
>> in its own right. (I did not expose [[:word:]] as a class name,
>> though it would be a little more symmetric to do so; should we?)
> Apparently [:word:] is a GNU extension (or at least a "bash-specific
> character class"[1] but apparently Emacs also supports it?); all the
> others are mandated by POSIX[2].
> I think it'd be fine to expose [:word:] ...
Yeah, I'd independently come to the same conclusion. This GNU precedent
offers even more basis for that, though.
regards, tom lane