8000 Remove obsolete advice about doubling backslashes in regex escapes. · home201448/postgres@fdae4a9 · GitHub
[go: up one dir, main page]

Skip to content

Commit fdae4a9

Browse files
committed
Remove obsolete advice about doubling backslashes in regex escapes.
Standard-conforming literals have been the default for long enough that it no longer seems necessary to go out of our way to tell people to write regex escapes illegibly.
1 parent f4057cd commit fdae4a9

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

doc/src/sgml/func.sgml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4642,16 +4642,6 @@ SELECT foo FROM regexp_split_to_table('the quick brown fox', E'\\s*') AS foo;
46424642
Non-capturing parentheses do not define subexpressions.
46434643
</para>
46444644

4645-
<note>
4646-
<para>
4647-
Keep in mind that an escape's leading <literal>\</> will need to be
4648-
doubled when entering the pattern as an 69A7 SQL string constant. For example:
4649-
<programlisting>
4650-
'123' ~ E'^\\d{3}' <lineannotation>true</lineannotation>
4651-
</programlisting>
4652-
</para>
4653-
</note>
4654-
46554645
<table id="posix-character-entry-escapes-table">
46564646
<title>Regular Expression Character-entry Escapes</title>
46574647

0 commit comments

Comments
 (0)
0