Skip site navigation (1) Skip section navigation (2)

doc bug: SELECT SUBSTRING example is missing keyword FROM

From: Arley Lewis <arleylewis(at)gmail(dot)com>
To: PostgreSQL Docs List <pgsql-docs(at)postgresql(dot)org>
Subject: doc bug: SELECT SUBSTRING example is missing keyword FROM
Date: 2009-04-28 18:34:37
Message-ID: 607ccf8a0904281134t5fc27233xa1d3d881bdc24012@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-docs
Hello doc team,

There's a doc bug on
http://www.postgresql.org/docs/8.3/static/functions-matching.html.

Two "FROM"s are missing from this section. Where it now says:
-------------
SELECT SUBSTRING('XY1234Z', 'Y*([0-9]{1,3})');
Result: 123
SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
Result: 1
----------------

You should fix it to say:
-------------------
SELECT SUBSTRING('XY1234Z' FROM 'Y*([0-9]{1,3})');
Result: 123
SELECT SUBSTRING('XY1234Z' FROM 'Y*?([0-9]{1,3})');
Result: 1
----------------------

Thanks,
Arley Lewis
arleylewis(at)gmail(dot)com

Responses

pgsql-docs by date

Next:From: Tom LaneDate: 2009-04-28 21:46:46
Subject: Re: doc bug: SELECT SUBSTRING example is missing keyword FROM
Previous:From: Tom LaneDate: 2009-04-28 01:39:24
Subject: Re: Re: [COMMITTERS] pgsql: Proofreading adjustments for first two parts of documentation

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group