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 #2704 is a reply to message #2699] Sat, 18 May 2002 00:35 Go to previous messageGo to previous message
DocObvious is currently offline  DocObvious   United States
Messages: 39
Registered: March 2002
Karma:
Member
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
[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 Nov 28 12:52:06 GMT 2024

Total time taken to generate the page: 0.05861 seconds