What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! General » Suggestion - Word-in-word filter

Suggestion - Word-in-word filter
Author: Message:
timmie_loots
Junior Member
**

Avatar
Forum Ere Lid

Posts: 26
34 / Male / –
Joined: Sep 2004
O.P. Suggestion - Word-in-word filter
Hi, last week i stumbled on a little problem..
I was bored so i tried to insert colorcoding into msn with the word filter of Messenger Plus! :P

But i had a problem...
I wanted this:

echo $var;

to change to this:

echo $var;

But.. that isn't posibbe because if you insert a wordfilter on, let's say the $ you wil have to type your var like this for the colorcoding to work:

$ var

since the $ won't be filtered out if var is sticked to it.

It wasn't only with the colorcoding that i got this problem.. I also stumbled into it when i wanted to filter out things like shit etc. (sshit wasn't filtered to ssh*t)


So my suggestion was.. add a function to the word filters that also filter words in other words.

[Image: timmie_loots.png]
09-20-2004 10:33 AM
Profile PM Web Find Quote Report
VenturerX
New Member
*


Posts: 3
Joined: Sep 2004
RE: Suggestion - Word-in-word filter
I can see one problem with this off the bat, what about words alone that someone might want to filter but are valid (ok) words when it's a subset of another word ...

For example, use "ass" ... alone some people may consider this an offensive word, but then the words "class" "grass" and "pass" you wouldn't want to filter.

The only way around this that I can think of is to to implement some sort of wild card mechanism (* and ?), but that might be a lot of work to parse ;)

Vx
09-20-2004 11:23 AM
Profile E-Mail PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Suggestion - Word-in-word filter
No, wildcards aren't needed, it could also be a simple option that you have to set for each filter: "[ ] Whole word only"

This would be similar to how the search function works:

You can search on words, and if you do that then "ass" wouldn't be found in "mind the grass." but will be found in "you are an ass.".

If you don't search on words (don't tick the option "Whole word only") then "ass" is found in "mind the grass." aswell as in "you are an ass.".

Word bounderies include spaces (space, tab, newline) and punctuations (.,?!;).

This post was edited on 09-20-2004 at 12:33 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
09-20-2004 12:31 PM
Profile PM Find Quote Report
timmie_loots
Junior Member
**

Avatar
Forum Ere Lid

Posts: 26
34 / Male / –
Joined: Sep 2004
O.P. RE: RE: Suggestion - Word-in-word filter
quote:
Originally posted by CookieRevised
No, wildcards aren't needed, it could also be a simple option that you have to set for each filter: "[ ] Whole word only"

This would be similar to how the search function works:

You can search on words, and if you do that then "ass" wouldn't be found in "mind the grass." but will be found in "you are an ass.".

If you don't search on words (don't tick the option "Whole word only") then "ass" is found in "mind the grass." aswell as in "you are an ass.".

Word bounderies include spaces (space, tab, newline) and punctuations (.,?!;).


Exactly! :)

I don't think it is very hard to do.. and it can be quite handy..
[Image: timmie_loots.png]
09-20-2004 01:42 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On