aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-03-25 18:14:31 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-03-25 18:14:31 +0000
commit39ceedf5e04f131af8432ecc7c3e3503b560203b (patch)
tree5dca1e2ec24b1decdc66f4243071a80e631c81f3
parent42eaad0575c920ae1a95eaed4b6f7742be8e91db (diff)
downloadpostgresql-39ceedf5e04f131af8432ecc7c3e3503b560203b.tar.gz
postgresql-39ceedf5e04f131af8432ecc7c3e3503b560203b.zip
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.
-rw-r--r--doc/src/sgml/func.sgml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 071a457bcb7..d8dde6270ae 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -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