Re: [Firebird-devel] Regular Expression Library

2015-06-11 Thread Adriano dos Santos Fernandes
On 11/06/2015 07:58, Vlad Khorsun wrote: > 11.06.2015 13:44, Adriano dos Santos Fernandes wrote: >> On 11/06/2015 06:08, Dmitry Yemanov wrote: >>> 10.06.2015 21:03, Adriano dos Santos Fernandes wrote: At a first look, boost.regex is the library who can do it. It's templatized and works wi

Re: [Firebird-devel] Regular Expression Library

2015-06-11 Thread Vlad Khorsun
11.06.2015 13:44, Adriano dos Santos Fernandes wrote: > On 11/06/2015 06:08, Dmitry Yemanov wrote: >> 10.06.2015 21:03, Adriano dos Santos Fernandes wrote: >>> At a first look, boost.regex is the library who can do it. It's >>> templatized and works with iterators and traits for customization. It >

Re: [Firebird-devel] Regular Expression Library

2015-06-11 Thread Adriano dos Santos Fernandes
On 11/06/2015 06:08, Dmitry Yemanov wrote: > 10.06.2015 21:03, Adriano dos Santos Fernandes wrote: >> At a first look, boost.regex is the library who can do it. It's >> templatized and works with iterators and traits for customization. It >> has integration with ICU and MFC strings, so this is usef

Re: [Firebird-devel] Regular Expression Library

2015-06-11 Thread Adriano dos Santos Fernandes
On 11/06/2015 05:26, Mark Rotteveel wrote: > That doesn't work: SQL regex is an SQL abomination that doesn't look > like normal (perl or posix) regular expressions. > Surely it has not normal perl/posix syntax. > BTW, as far as I know the postgresql similar to is SQL standard > compliant, but they

Re: [Firebird-devel] Regular Expression Library

2015-06-11 Thread Dmitry Yemanov
10.06.2015 21:03, Adriano dos Santos Fernandes wrote: > > At a first look, boost.regex is the library who can do it. It's > templatized and works with iterators and traits for customization. It > has integration with ICU and MFC strings, so this is useful to > understand how to customize it. Is it

Re: [Firebird-devel] Regular Expression Library

2015-06-11 Thread Mark Rotteveel
Van: "Egor Pugin" Aan: "For discussion among Firebird Developers" Onderwerp: [Firebird-devel] Regular Expression Library Datum: do, jun. 11, 2015 09:07 By the way C++11 has native regex support. On 10 June 2015 at 21:03, Adriano dos Santos Fernandes wrote: > Hi! > >

Re: [Firebird-devel] Regular Expression Library

2015-06-11 Thread marius adrian popa
My vote is to use the standard one or the boost.regex On Thu, Jun 11, 2015 at 10:07 AM, Egor Pugin wrote: > By the way C++11 has native regex support. > > On 10 June 2015 at 21:03, Adriano dos Santos Fernandes > wrote: > > Hi! > > > > When I created SIMILAR TO predicate, I research for librarie

Re: [Firebird-devel] Regular Expression Library

2015-06-11 Thread Egor Pugin
By the way C++11 has native regex support. On 10 June 2015 at 21:03, Adriano dos Santos Fernandes wrote: > Hi! > > When I created SIMILAR TO predicate, I research for libraries to do the > real work and found no good alternative. > > PgSQL were using (AFAIR) Henry Spencer library, but its (PgSQL)

[Firebird-devel] Regular Expression Library

2015-06-10 Thread Adriano dos Santos Fernandes
Hi! When I created SIMILAR TO predicate, I research for libraries to do the real work and found no good alternative. PgSQL were using (AFAIR) Henry Spencer library, but its (PgSQL) SIMILAR TO were definitively non SQL standard. We needed a library to work with 1, 2 or 4 byte-length characters, a