From 39ceedf5e04f131af8432ecc7c3e3503b560203b Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 25 Mar 2001 18:14:31 +0000 Subject: [PATCH] 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. --- doc/src/sgml/func.sgml | 8 ++++---- 1 file 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 @@ - + Functions and Operators @@ -1205,9 +1205,9 @@ expression), an empty set of () (matching the null string), a bracket expression (see below), . (matching any single character), - ^ (matching the null string at the beginning of - a line), $ (matching the null string at the end - of a line), a \ followed by one of the + ^ (matching the null string at the beginning of the + input string), $ (matching the null string at the end + of the input string), a \ followed by one of the characters ^.[$()|*+?{\ (matching that character taken as an ordinary character), a \ followed by any other character (matching that character taken as -- 2.39.5