From: SourceForge.net <no...@so...> - 2011-11-27 11:13:23
|
Support Requests item #3443376, was opened at 2011-11-27 03:13 Message generated for change (Tracker Item Submitted) made by david-bo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=211118&aid=3443376&group_id=11118 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: filters Group: None Status: Open Priority: 5 Private: No Submitted By: db (david-bo) Assigned to: Nobody/Anonymous (nobody) Summary: My filter does not work Initial Comment: I try to apply a filter to html tag like this: <div class="ad ad-6011169"> (found on http://www.svd.se/naringsliv/guldet-glimmar-i-vasterbotten_6663380.svd) I use the following simple regular expression: s/<div class="ad ad.*">/<div class="annons8" style="display:none;">/g but it does seem to find the tag above. Why?? I have a bunch of other similar filters: s/<div class="article-ad">/<div class="annons4" style="display:none;">/g s/<div class="ad-column">/<div class="annons5" style="display:none;">/g s/<div class="ad.*id="panorama">/<div class="annons6" style="display:none;">/g s/<li class="partner-ad.*">/<div class="annons7" style="display:none;">/g that work as expected. I am running out if ideas here and would appreciate some help. Thanks. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=211118&aid=3443376&group_id=11118 |