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

Home » FUDforum » How To » Censorship & Replacement System?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Censorship & Replacement System? [message #2698 is a reply to message #2693] Fri, 17 May 2002 05:44 Go to previous messageGo to previous message
hackie is currently offline  hackie   Canada
Messages: 177
Registered: January 2002
Karma:
Senior Member
Core Developer

DocObvious wrote on Thu, 16 May 2002 7:19 PM

Okay, that info helps. How about a specific example? Here's one, now:

Let's say I want to filter the word "spoon" into "sp**n." I want to catch all conjugations and variations of "spoon" such as "spoonful" and "teaspoon" - how would I set up such a filter with each of the three options available? And what are the "From post:" and "To:" input fields for when Perl or PHP regex are selected?


well you could probobly do it with a perl regexp something along the lines of

replace: (\s.*?)spoon(.*?\s)
with: \1sp**n\2

altough you should ask prottoss, he's the regex hacker around here.


cc intelligence.c -o intelligence
$ ./intelligence
Segmentation fault
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Theme manager
Next Topic: Exploiting the current email filter
Goto Forum:
  

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

Current Time: Thu Sep 19 16:31:04 GMT 2024

Total time taken to generate the page: 0.06745 seconds