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

Home » FUDforum » FUDforum Suggestions » Multiple body mangling?
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Multiple body mangling? [message #24687] Mon, 09 May 2005 08:06 Go to next message
_2ge_ is currently offline  _2ge_   Slovakia
Messages: 7
Registered: May 2005
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 18:02 Go to previous message
Ilia is currently offline  Ilia   Mexico
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
^ 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
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Tue Dec 12 16:55:37 EST 2017

Total time taken to generate the page: 0.00687 seconds