- Use preg_replace instead of ereg_replace and use str_replace where possible.   Both preg_replace and str_replace are substantially faster than ereg_replace.
- Use preg_replace instead of ereg_replace and use str_replace where possible.
  Both preg_replace and str_replace are substantially faster than ereg_replace.

- Updated comments

NOTE: We should split each filter type into its own method. We should also make
the filter functions more intelligent and not call one of them B2. We may want
to name them something other than filters.


svn commit r940

silverorange/swat,silverorange/swat