I like regular expressions, but I always think of them as a last resort,
sort of like finding your way through a labyrinth by feel. When you know
more about the structure of the mystery -- "keep your left hand on the
wall" or "spaces separate tokens"-- then other tools and approaches can
help treme
Thanks Tamas. I am not aware of Ragel.
Regard
David
Le mardi 13 décembre 2016 20:24:18 UTC+1, Tamás Gulácsi a écrit :
>
> 2016. december 13., kedd 16:53:45 UTC+1 időpontban David Sofo a következőt
> írta:
>>
>> Hi,
>>
>> For a set of rules expressed in regular expression (around 1000 rules
>> e
2016. december 13., kedd 16:53:45 UTC+1 időpontban David Sofo a következőt
írta:
>
> Hi,
>
> For a set of rules expressed in regular expression (around 1000 rules
> expected) to find some keywords in a text file (~50Ko each file), how to
> speed up the execution time. Currently I compile the re