Subject Mangling Confusion [message #9066] |
Tue, 11 March 2003 16:14 |
jgbutler
Messages: 19 Registered: March 2003 Location: Northport, AL
Karma: 0
|
Junior Member |
|
|
I'm trying to understand how the "Subject Mangling" works in the mailing list gateway.
What I want to do is, as is suggested in the control panel, remove a repeated element from the subject line. In this case, it's [Test6]. Obviously, I don't know what I'm doing, however, because I tried setting the "Replace mask" to [Test6] and setting nothing as "Replace with", but this had no effect.
Can anyone steer me in the right direction?
Thanks.
Jeremy
|
|
|
Re: Subject Mangling Confusion [message #9122 is a reply to message #9066] |
Thu, 13 March 2003 15:06 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Replacment is done using regular expression (PCRE), so things like [] need to be escaped for it to work properly.
FUDforum Core Developer
|
|
|
|
|
|
Re: Subject Mangling Confusion [message #9344 is a reply to message #9066] |
Mon, 24 March 2003 18:13 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
There was a bug in that code that is now fixed in the CVS.
\[TEST\] regex will result in replacment of [TEST] string.
FUDforum Core Developer
|
|
|