pgsql: Doc: improve description of regexp character classes. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Doc: improve description of regexp character classes.
Date
Msg-id E1hSqxG-0002wc-7i@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Doc: improve description of regexp character classes.

Define the meanings of the POSIX-spec character classes in line,
rather than referring to the ctype(3) man page.  That man page
doesn't even exist on many modern systems, and if it does exist
it probably says the wrong things about non-ASCII characters.
Also document our non-POSIX-spec "ascii" character class.

Also, point out here that this behavior is controlled by collation or
LC_CTYPE, since the existing text explaining that is pretty far away.

Per gripe from Geert Lobbestael.  Given the lack of prior complaints,
I'm not excited about back-patching this.

Discussion: https://postgr.es/m/155837022049.1359.2948065118562813468@wrigleys.postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cf92226e9f7f985a678287167b954a831a3b660c

Modified Files
--------------
doc/src/sgml/func.sgml | 46 ++++++++++++++++++++++++++++++++--------------
1 file changed, 32 insertions(+), 14 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Stamp 12beta1.
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Make VACUUM accept 1 and 0 as a boolean value.