public inbox for [email protected]  
help / color / mirror / Atom feed
From: David Johnston <[email protected]>
To: Tom Lane <[email protected]>
Cc: [email protected]
Subject: Re: Some qualms with the current description of RegExp s,n,w modes.
Date: Thu, 5 Jun 2014 20:56:35 -0400
Message-ID: <CAKFQuwYumYU723Or79gFxd-Rr8ZtvFyk98KFG0Dm0kxYDLB65Q@mail.gmail.com> (raw)
In-Reply-To: <CAKFQuwY=D+4wK1LpZpxXiP3p_SdEb1pMy8k5Y+sh6m9mhUFCPA@mail.gmail.com>
References: <[email protected]>
	<[email protected]>
	<CAKFQuwY=D+4wK1LpZpxXiP3p_SdEb1pMy8k5Y+sh6m9mhUFCPA@mail.gmail.com>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>

>
>
>> Or just "newline-sensitive matching" ... does "full" add anything?
>>
>
​And since I'm nit-picking anyway - the word "sensitive" does nothing for
me.  Simply "newline-matching" would be sufficient, ideally.  i.e., Do ".
[^]" and "^$" match the newline character, or not.

[w] anchor newline-matching
[n] dot/inverse-bracket newline-matching
[s] newline-matching

These are precise, what-oriented, names compared to:

[w] record mode
[n] multi-line mode
[s] single-line mode

which are more descriptive, use-oriented, names.

Use of these label sets is not mutually exclusive...

David J.


view thread (4+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Some qualms with the current description of RegExp s,n,w modes.
  In-Reply-To: <CAKFQuwYumYU723Or79gFxd-Rr8ZtvFyk98KFG0Dm0kxYDLB65Q@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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