Oleg Kobets wrote: > > > And a similar question: If I have a collection of hundreds (simple) > > regular expressions, and want to find all the matches of them in a long > > free text, is there any Open Source library for this purpose? (like > > flex, but without generating C code + compilation to machine code; Just > > a function library). > > Of course. Use perl. It is perfect for such things and as you probably know > has a very strong regexps :-) > > I am shure there are zillions of modules to do what you need. Try on CPAN.
In my original post, I also mentioned the critical need for efficiency. Perl (including compiled Perl), not only is not faster than my current algorithm (a special state machine), but is much slower. In addition, it is not a library, but a language (of course I can dig into the source of the interpreter, and find the code that handles regular expressions; But I'm sure there are much more efficient implementations of regular expressions). Thanks, -- Eli Marmor [EMAIL PROTECTED] CTO, Founder Netmask (El-Mar) Internet Technologies Ltd. __________________________________________________________ Tel.: +972-9-766-1020 8 Yad-Harutzim St. Fax.: +972-9-766-1314 P.O.B. 7004 Mobile: +972-50-23-7338 Kfar-Saba 44641, Israel ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]