Search Postgresql Archives

Postgres friendly RegEx?

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

 



Anyone care to correct this regex for PostgreSQL?  It works in C++ but Postgres have no love for it:
 
-{0,1}\d*\.{0,1}\d+\^{0,1}\d*\.{0,1}\d+
 
This regex accepts  (any num)^(pos num)  such as:
45.2^3
-45.2^3
10^2.5
 
 

[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