Re: [Firebird-devel] Regex returning error

2014-09-04 Thread Adriano dos Santos Fernandes
On 02/09/2014 07:09, Jiří Činčura wrote: Hi, If I do similar to '[a-z\_-]' escape '\' I got a error about invalid pattern. The - is causing problems. Surprisingly doing '[a-z-\_]' is fine and also '[a-z-]' is fine. Testing the first regex on various parsers it worked. Why it doesn't work

Re: [Firebird-devel] Regex returning error

2014-09-02 Thread Jiří Činčura
I quickly also checked Postgres and it works there. -- Mgr. Jiří Činčura Independent IT Specialist -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ Firebird-Devel mailing list, web

[Firebird-devel] Regex returning error

2014-09-02 Thread Jiří Činčura
Hi, If I do similar to '[a-z\_-]' escape '\' I got a error about invalid pattern. The - is causing problems. Surprisingly doing '[a-z-\_]' is fine and also '[a-z-]' is fine. Testing the first regex on various parsers it worked. Why it doesn't work on Firebird? -- Mgr. Jiří Činčura