Search Postgresql Archives

regexp problem

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

 



I want to include '[', ']', and '.' in a list of permitted chars in a regexp.  This doesn's seem to work...

 

 

select 'abc.def[0]' ~ E'^[a-zA-Z0-9_\.\[\]]+$';

?collum?

--------

f

(1 row)

 

Help!


[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