Re: Undocumented behaviour of \s in SIMILAR TO expression

2019-01-22 Thread Bruce Momjian
On Thu, Dec 13, 2018 at 12:48:10PM +, PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/11/functions-matching.html > Description: > > SELECT ' ' SIMILAR TO '[\s]'; > returns true > > SELECT ' ' SIMILAR

Undocumented behaviour of \s in SIMILAR TO expression

2018-12-13 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/11/functions-matching.html Description: SELECT ' ' SIMILAR TO '[\s]'; returns true SELECT ' ' SIMILAR TO '[\q]'; generates an error: [2201B]: ERROR: invalid regular expression: invalid escap