diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 5724b9b2561..16ed17b118a 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 +