Suggestions and requests :  [Fixed] RegEx in Filtered Words

 [Fixed] RegEx in Filtered Words

Glad we have that capability, but I'll bet most posters have no idea what \b and ? mean in the default words. I use RegEx every day and am only curious about which dialect you use.

[center] [hr] [poll multiple] [s] [sic] [sub]2[/sub] [sup]th[/sup] [u] [r] [by][l] 

Re:  RegEx in Filtered Words

I use regular expressions a lot, but I don't know what filtered words are. What are they?

Happiness is a warm… yes it is… GUN!

 RegEx in Filtered Words

It's the section of your profile above FRIENDS. For the benefit of the non-RegEx:

\b = word boundary. I wouldn't use it on \bfuck because if you're offended by motherfucker or clusterfuck, it won't catch them.

? = previous character is optional, hence used on plurals.

These are the ones you get with the DEFAULT button:

Filtered Words

• If no replacement is provided then asterisks will be displayed.
x \bfuck
x \bshit
x niggers?\b
x chinks?\b
x faggots?\b
x kikes?\b
x cunts?\b
x gooks?\b
x spics?\b

[center] [hr] [poll multiple] [s] [sic] [sub]2[/sub] [sup]th[/sup] [u] [r] [by][l] 

Re:  RegEx in Filtered Words

It just uses JavaScript regular expressions.

Re:  RegEx in Filtered Words

I don't use it much due to random capitalization not following the replacement string. It isn't smart enough to know what a proper noun is.

Also, the replacement is sometimes just ******** if it doesn't like something in the REPLACE box. Shouldn't "\bJ?o?e? ?Biden\b" or "\b(Joe )?Biden\b" be interpreted as easily as the other examples?

[center] [hr] [poll multiple] [s] [sic] [sub]2[/sub] [sup]th[/sup] [u] [r] [by][l] 

Re:  RegEx in Filtered Words

Those should now filter correctly. You may need to clear your cache to receive the updated javascript file.

Re:  RegEx in Filtered Words

The translation now works. 😊 I assume the input is not case-sensitive. Capitalization of the output however, should follow the output, not some random pattern.😞

[x \b(Joe )?Biden\b ⇒ The Big Guy] comes out "The big Guy" for some reason.

Thanks. BTW, I liked it better when the notifications were deleted on exit, but I always thought there should be something to that effect on the pop-up.

UPDATE: "The Big guy" in another instance. Truly random capitalization.

[center] [hr] [poll multiple] [s] [sic] [sub]2[/sub] [sup]th[/sup] [u] [r] [by][l] 

Re:  RegEx in Filtered Words

Here's a really weird random capitalization I never expected:

The big guY
Add to:
The Big guy
The big Guy

Never once have I seen it come out: The Big Guy as entered.

I've noticed that quite a few areas aren't translated. Untagged URLs are translated on both sides, where only the display part if any should be translated.

[center] [hr] [poll multiple] [s] [sic] [sub]2[/sub] [sup]th[/sup] [u] [r] [by][l] 

Re:  RegEx in Filtered Words

So far today, I've seen correct capitalization. Thanks! I would imagine the only time you would want to intervene is when the replacement starts a sentence in lower case.

[center] [hr] [poll multiple] [s] [sic] [sub]2[/sub] [sup]th[/sup] [u] [r] [by][l] 

Re:  RegEx in Filtered Words

I found another bug. You can't edit them of course, but if you only change the output and delete the old one, sometimes both are deleted. I suggest keying on the full string rather than just the input.

[center] [hr] [poll multiple] [s] [sic] [sub]2[/sub] [sup]th[/sup] [u] [r] [by][l] 
Top