Search Postgresql Archives

Re: Regex "embedded options" does only work on the whole pattern?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 3, 2016 at 8:49 AM, matshyeq <matshyeq@xxxxxxxxx> wrote:
Does that mean these "EMBEDDED OPTIONS" can be only defined at the beginning of the pattern and therefore don't offer anything extra over flags option?

​Yes, this is how they behave.  The most important difference is that:

column ~ 'regex'  (i.e., the operator)

can only accept embedded switches since there is no place to write a formal flag like you can with the functions.

​Though there is a case-insensitive operator as a usability feature the other modes lack any external operator support.

David J.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux