]> granicus.if.org Git - postgresql/commitdiff
The regexp pattern characters ^ and $ should be explained as matching
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 25 Mar 2001 18:14:31 +0000 (18:14 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 25 Mar 2001 18:14:31 +0000 (18:14 +0000)
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.

doc/src/sgml/func.sgml

index 071a457bcb748f46156ceec9458b4ebc8fe12669..d8dde6270ae76a244036676edc80dbb39642f774 100644 (file)
@@ -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>
     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