Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   multiple keyword search - regular expression, posted by Johannes Liegl on Wed Aug 19 11:49:37 2009 
    icon2.gif   Re: multiple keyword search - regular expression, posted by Stefan Ritt on Thu Sep 3 18:14:26 2009 
       icon2.gif   Re: multiple keyword search - regular expression, posted by Yoshio Imai on Fri Sep 4 13:59:19 2009 
          icon2.gif   Re: multiple keyword search - regular expression, posted by Stefan Ritt on Fri Sep 4 14:07:31 2009 
Message ID: 66528     Entry time: Fri Sep 4 13:59:19 2009     In reply to: 66524     Reply to this: 66529
Icon: Reply  Author: Yoshio Imai  Author Email:  
Category: Request  OS: Linux | Windows  ELOG Version: 2.7.2-2012 
Subject: Re: multiple keyword search - regular expression 
Maybe there is a simple way.
If I understand it correctly, the entries are accepted/rejected for inclusion in the search result list based on one call to regexec. In order to search for N keywords, you could replace this by a loop of N calls to regexec, and only accept the entry if all of them find a match.
ELOG V3.1.5-3fb85fa6