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: Working Example [message #2705 is a reply to message #2704] Sat, 18 May 2002 00:51 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 Fri, 17 May 2002 8:35 PM

prottoss wrote on Fri, 17 May 2002 11:52 AM

I think the code you are looking for is something like this:

From: (\s|^)([^\s]*?)spoon([^\s]*?)(\s|$)
To: \1sp**n\4


Slight bug in the regex, works fine now.


Well, when I try to enter something like that with either Perl regex or PHP regex, all backwards slashes end up getting doubled:

Fron: (\\s|^)([^\\s]*?)spoon([^\\s]*?)(\\s|$)
To: \\1sp**n\\4


I fixed that bug few hrs ago in 1.9.9 Razz.. Gunna backport the fix to 1.2.X


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: Sun Dec 01 05:20:42 GMT 2024

Total time taken to generate the page: 0.04863 seconds