WSW and wildcard filtering

The filter system of WebSite-Watcher supports (among others) wildcard filters with the form

     StartText*EndText

This works well if StartText is a unique text, but if StartText appears multiple times before EndText, then WebSite-Watcher 4.x uses the first occurrence of StartText.

Let’s have the following text:

     List Price: $97.21
     Price: $16.99
     You Save: $80.22 (83%)

If you use the wildcard filter price*you save, then WebSite-Watcher 4 will find the following match:

     Price: $97.21 Price: $16.99 You Save

WebSite-Watcher 5 will change this behavior and use more atomic matches. Concretely, the nearest occurrence of StartText before EndText will be used what results in the following match:

     Price: $16.99 You Save

This new behavior will also be used for the RegexToRegex(…) filter.

One Response to “WSW and wildcard filtering”

  1. Edgaras says:

    Thanks for the article! I was just looking for this function!

Leave a Reply