Multiple body mangling? [message #24687] |
Mon, 09 May 2005 12:06 |
_2ge_
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 |
Ilia
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
|
|
|