I could use some help working with BlockReport's modify.pm

I'm trying to completely remove sections in the block reports similar to:

<table id="report">
 <col><col><col>
 <tr>
 <th colspan="3" id="header">
 <img src="cid:1001" alt="powered by ASSP">
 <b>us...@ourcharity.org</b> no blocked

 </th>
 </tr>

</table>
<br>
<br>
1 line skipped on global defined filter regex 'BlockReportFilter'<br>

I tried adding different variations of this to the %toReplace array with
and without the makeRe function.

The last one I tried was
     &makeRe("<table id=\"report\">.*global defined filter regex
'BlockReportFilter'<br>") =>  "",
(with .* intended to capture everything)

which  like all the others I tried, made ASSP quite mad:

Error: Worker_10000: Nested quantifiers in regex; marked by <-- HERE in
m/<(?:[=] )?t(?:[=] )?a(?:[=] )?b(?:[=] )?l(?:[=] )?e(?:[=] )? (?:[=]
)?i(?:[=] )?d(?:[=] )?=(?:[=] )?"(?:[=] )?r(?:[=] )?e(?:[=] )?p(?:[=]
)?o(?:[=] )?r(?:[=] )?t(?:[=] )?"(?:[=] )?>(?:[=] )?

 (?:[=]

)?<(?:[=]

)?c(?:[=]

)?o(?:[=]  (continues)


I'm sure I'm missing or misunderstanding something that's incredibly simple.


Thanks

Ken
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to