mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08:00
The regexp pattern characters ^ and $ should be explained as matching
at the beginning and end of the input string, not the beginning and end of "a line", since Postgres does not allow them to match at newline characters in the data.
This commit is contained in:
parent
42eaad0575
commit
39ceedf5e0
@ -1,4 +1,4 @@
|
||||
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.55 2001/03/15 01:07:51 tgl Exp $ -->
|
||||
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.56 2001/03/25 18:14:31 tgl Exp $ -->
|
||||
|
||||
<chapter id="functions">
|
||||
<title>Functions and Operators</title>
|
||||
@ -1205,9 +1205,9 @@
|
||||
expression), an empty set of <literal>()</literal> (matching the
|
||||
null string), a <firstterm>bracket expression</firstterm> (see
|
||||
below), <literal>.</literal> (matching any single character),
|
||||
<literal>^</literal> (matching the null string at the beginning of
|
||||
a line), <literal>$</literal> (matching the null string at the end
|
||||
of a line), a <literal>\</literal> followed by one of the
|
||||
<literal>^</literal> (matching the null string at the beginning of the
|
||||
input string), <literal>$</literal> (matching the null string at the end
|
||||
of the input string), a <literal>\</literal> followed by one of the
|
||||
characters <literal>^.[$()|*+?{\</literal> (matching that
|
||||
character taken as an ordinary character), a <literal>\</literal>
|
||||
followed by any other character (matching that character taken as
|
||||
|
Loading…
Reference in New Issue
Block a user