Custom filter

kiamlaluno - October 21, 2007 - 10:10

This module allows you to create content filter using regular expressions. Instead of creating a new module for each filter you need, now you can easily create and organize your own filters. Your filter will appear in the input format configuration page.

For a description of the regular expression syntax, see PCRE regex syntax; for a description of the modifiers, see Possible modifiers in regex patterns. If you know the syntax used by Perl regular expressions, see Differences From Perl.

Supported versions

Starting from September 1, the Drupal 5 branch will have a limited support (which means I will eventually apply suggested patches).

If somebody is willing to become co-maintainer for the Drupal 5 version, I will be more than happy to accept the offer, and make him/her co-maintainer.

Version notes

  • Branch 6.x-2 requires PHP 5.1.0, or higher; branch 6.x-1 is compatible with PHP 4.
  • Updates between different releases of the development snapshots are not supported; you always need to uninstall the development snapshot before to copy the new release.

Other notes

Because the strings used for the description and the help text of the custom filters are dynamic (i.e., taken from a database table), it is not possible to translate them through t(). I am changing the code so that it will be possible to add a description, and a help text for each enabled language.

Previous maintainer

The original maintainer of this project is Ari Prasetyo that I personally thanks for this module; I use it in my local LAN, and it saved me a lot of time.
I thank Ari also for making me the actual maintainer of this project.

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.0-rc2 Download (16.92 KB) 2010-Jan-03 Notes
5.x-1.6 Download (16.97 KB) 2009-Oct-21 Notes

Other releases

Version Downloads Date Links
6.x-2.0-beta7 Download (17.29 KB) 2009-Oct-21 Notes

Development releases

Version Downloads Date Links
6.x-2.x-dev Download (21.76 KB) 2010-Jan-04 Notes
6.x-1.x-dev Download (16.79 KB) 2010-Jan-14 Notes


 
 

Drupal is a registered trademark of Dries Buytaert.