]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Doc: work a little harder on the initial examples for regex matching.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 1 Feb 2021 21:38:52 +0000 (16:38 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 1 Feb 2021 21:38:52 +0000 (16:38 -0500)
commitdae5af6c19f20d954179df5e15afa649fbabb101
tree7e6fd4237e3c42d8fafd107c4226a48e4ff0a107
parentd798ea750d22ee4f546c5a4521f957ca610de5b1
Doc: work a little harder on the initial examples for regex matching.

Writing unnecessary '.*' at start and end of a POSIX regex doesn't
do much except confuse the reader about whether that might be
necessary after all.  Make the examples in table 9.16 a tad more
realistic, and try to turn the next group of examples into something
self-contained.

Per gripe from rmzgrimes.  Back-patch to v13 because it's easy.

Discussion: https://postgr.es/m/161215841824.14653.8969016349304314299@wrigleys.postgresql.org
doc/src/sgml/func.sgml