To try the thousands of add-ons available here, download Mozilla Firefox, a fast, free way to surf the Web!Close
Welcome to Firefox Add-ons.
Choose from thousands of extra features and styles to make Firefox your own.Close
Regular Expressions? Rated 4 out of 5 stars
I just installed ProCon and have been experimenting with it for a bit.
Unless I'm missing something, it seems that the 'explicit language' filter requires you to enter every variant of every obscenity. I believe this add-on would be greatly improved with the ability to specify regular expressions --- for example, instead of blocking ALL of the following obscenities:
. . . it would be much simpler, and more effective, if ProCon recognized regular expressions such as:
Since I realize not everyone in conversant in regular expressions, perhaps ProCon could allow regular expression filtering in addition to the current string literal filtering?
It already does =P
Sorry if this reply took 4 ever!
Anyways, ProCon always supported RegExps.
Since it already compiles the list from code, you should always "embrace" the individual terms by word boundaries or what...
E.g. foul[a-z0-9]* does the trick very well... (I haven't refreshed my brain with RegExps for quite some time, however, I would bet that there is another way of writing that pattern.