public inbox for [email protected]  
help / color / mirror / Atom feed
clarify Regular Expression Match Operators
2+ messages / 2 participants
[nested] [flat]

* clarify Regular Expression Match Operators
@ 2018-01-13 14:59 PG Doc comments form <[email protected]>
  2018-01-26 13:28 ` Re: clarify Regular Expression Match Operators Bruce Momjian <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2018-01-13 14:59 UTC (permalink / raw)
  To: [email protected]; +Cc: [email protected]

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/10/static/functions-matching.html
Description:

Table 9.14 Regular Expression Match Operators
It is not clear (to me)where I would put one of these operators. The Example
column does not make sense to me.


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: clarify Regular Expression Match Operators
  2018-01-13 14:59 clarify Regular Expression Match Operators PG Doc comments form <[email protected]>
@ 2018-01-26 13:28 ` Bruce Momjian <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2018-01-26 13:28 UTC (permalink / raw)
  To: [email protected]; [email protected]

On Sat, Jan 13, 2018 at 02:59:06PM +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
> 
> Page: https://www.postgresql.org/docs/10/static/functions-matching.html
> Description:
> 
> Table 9.14 Regular Expression Match Operators
> It is not clear (to me)where I would put one of these operators. The Example
> column does not make sense to me.

Uh, you can use those regular expressions any place you would use an
operator:

	SELECT 'thomas' ~ '.*thomas.*';
	 ?column?
	----------
	 t

or in a where clause, e.g. WHERE col ~ 'ab.*c'.  Not sure how we can
improve the docs here.

-- 
  Bruce Momjian  <[email protected]>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-01-26 13:28 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-01-13 14:59 clarify Regular Expression Match Operators PG Doc comments form <[email protected]>
2018-01-26 13:28 ` Bruce Momjian <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox