Hans wrote:

>> Excuse my ignorance, I don't know the problem with "highlighting two
>> words of an AND condition" compared to "highlighting two words of an
>> OR condition".
>
>At present TextExtract search term input is passed as
>a regular expression, more or less.
>So input ABC|XYZ will look for ABC OR XYZ, and each term will  be
>separately highlighted.
>But input ABC XYZ will look for one string "ABC XYZ", not look to see
>if both are present anywhere in the page, or paragraph, or line.

couldn't you re-use the PmWiki search mechanism?

But maybe it's more efficient to extend the PmWiki search to output
the words in context.

Oliver


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to