Obscene module with regular expression matching
Issue #104
new
The current obscene module is a bit limited in its filtering options. It would be useful to have the ability to specify the obscene list with regular expressions.
Cerium wrote a regex matching obscene module which is used by Hyperspace. Unfortunately, it relies on pcre (perl compatible regular expressions), which is a non-standard external dependency. Requiring pcre would complicate the build process for many people, especially on Windows.
So an alternative regular expression library should be located. Preferably one that allows direct inclusion into the asss source.
Comments (3)
-
-
Account Deleted well if we're already using python... a link to your module's src would be nice, if available
-
Account Deleted - changed milestone to 1.5.1
- edited description
- Log in to comment
I believe POSIX regular expressions are part of the GNU C library http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_9.html#SEC96