FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » Multiple body mangling?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Multiple body mangling? [message #24687] Mon, 09 May 2005 12:06 Go to next message
_2ge_ is currently offline  _2ge_   Slovakia
Messages: 7
Registered: May 2005
Karma: 0
Junior Member
Hello,

another post from me, I hope it is OK. I'm playing with BODY MANGLING, and I see, I can specify only one rule, for example deleting everything after
"-- \n"
setting
"/--\s[\r\n].*" | "/s"
^^- works ok.
But what I can do, if I want change quoting system and remove this signature also? For example I try:
"(>\s*[^>][^\n]+)" | "/s" | "[color=red]$1[/color]"
and this work well too. Now I should change color for every reply according thread (lets say original message have black color, reply have red and reply to reply have blue (and so on). How I can combine this all?

Also, next question, why ^ (beginning of line) doesn't work here ? Is always better use
"^(>\s*[^>][^\n]+)"


Thanks
Re: Multiple body mangling? [message #24750 is a reply to message #24687] Thu, 12 May 2005 22:02 Go to previous message
Ilia is currently offline  Ilia   Mexico
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
^ won't work without "m" flag that will make ^ trigger on every line in the data, rather then just the very start of the entire string.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Implementing "Body Mangling" to newsgroup manager
Next Topic: Newsgroup manager Slow Reply Match explained?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 13:54:25 GMT 2024

Total time taken to generate the page: 0.02506 seconds