|
From: Vlad K. <hv...@us...> - 2012-11-23 15:16:05
|
> On Fri, Nov 23, 2012 at 3:33 PM, Vlad Khorsun wrote:
>> Backslash should work for all kind of regexp's (include_filter, exclude_filter,
>> database name pattern).
>
> Should the backslash already in RegEx be handled in a specific way?
The backslash is the usual escape character used in regular expression.
You can read about SIMILAR TO predicate, for example, the code is the same.
> I.e. this is simple:
> .+' .* --> '.+\' .*'
> but what about:
> .+\.'.* --> ???
> should it be '.+\\.\'.*'?
Yes, you should double escape character in string.
Regards,
Vlad
|