Please help

These are old archives. They are kept for historic purposes only.
Post Reply
MoLo_

Please help

Post by MoLo_ »

Hi, I need some help with regex for example when a user changes the characters

Guest1983 (Quit: Come to our channel #Coolers)
Guest1983 (Quit: C0me to our channel #Coolers)
Guest1983 (Quit: Come t0 0ur channel #Coolers)
Guest1983 (Quit: Come to 0ur channel #Coolers)

I have to add a spamfilter for any quit message ?
Or there is a way to apply it with characters like "O" or "0" in only one?

Thanx .. and sorry I'm noob..
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

[o0] matches in regex both o and 0.
So like: "C[o0]me t[o0] [o0]ur channel #Coolers"

That said, why not match at the channel name (with action block)? Or do they change that all the time too? ;)
Post Reply