|
Demo
Discussion
|
Forum
Config Examples
Contributions
Vulnerabilities
|
Discussion forum about ELOG |
Not logged in |
|
|
|
Message ID: 66529
Entry time: Fri Sep 4 14:07:31 2009
In reply to: 66528
|
|
Category: |
Request |
OS: |
Linux | Windows |
ELOG Version: |
2.7.2-2012 |
|
Subject: |
Re: multiple keyword search - regular expression |
|
|
Yoshio Imai wrote: | 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. |
That's right, but some people want something like
(NOT "House" and "Car") OR "Tree"
Using regex'es is a bit exotic for most users. So I hope there is some source code which implements a Google type search more or less 1:1. And Google does not use regex'es (is that right?). Here is the syntax for the Google search:
http://www.google.com/support/websearch/bin/answer.py?hl=en&answer=136861 |