Doc: work a little harder on the initial examples for regex matching.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 9522085ac917af66dba29939af328ae67300f10a
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2021-02-01T21:38:52Z
Releases: 14.0
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

Files

PathChange+/−
doc/src/sgml/func.sgml modified +12 −10

Documentation touched

Discussion