On St, 2003-02-19 at 00:30, Benoit DOLEZ wrote:
> > Echelog types are designed primarily for serialization into messages.
> > This doesn't seem to be the case.
>
> Ok, you're right. My problem was to not compile regex for each line.
> I move the compilation in the constructor and execute it in the
> test_chunk function and it seems that it is working :-)
>
> It is not a big patch but it may be useful.
>
> About it, I'm not expert in C++ developement, how can I say
> that tFilterCondRE::is_invalid() work like tFilterCondSS::is_invalid()?
I've modified the patch, so tFilterCondRE is based on tFilterCondSS and
as such it inherits is_invalid routine.
The suggested feature (matching regular expressions) is now included in
CVS.
Kamil
>
> >
> > You can check the attribute type for varchar,... (by is_compatible(attr)
> > for example) and perform any special operation you'd like to (like
> > regmatch to a compiled regular expression).
> >
> Thanks,
> Benoit
|