From: Bruce Momjian Date: Thu, 18 Dec 2003 03:59:07 +0000 (+0000) Subject: Please find enclosed a patch exemplifying typical use of the ARE X-Git-Tag: REL8_0_0BETA1~1497 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9aec81792441eafe2ee0987236f52ae39e726a5;p=postgresql Please find enclosed a patch exemplifying typical use of the ARE Class-Shorthand Escapes. I believe it will help intrepid regex users. :) David Fetter --- diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 5724b9b256..16ed17b118 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,5 +1,5 @@ @@ -3134,7 +3134,10 @@ substring('foobar' from 'o(.)b') o Keep in mind that an escape's leading \ will need to be - doubled when entering the pattern as an SQL string constant. + doubled when entering the pattern as an SQL string constant. For example: + +'123' ~ '^\\d{3}' true +