Ramunas - 2010-12-07 17:38:27 - In reply to message 1 from RicardoSaracino
Thanks for rating this class!
The answer to your question is that it's because of preg_replace function declaration. It has individual parameters for search patterns array and replacements array.
See http://php.net/manual/en/function.preg-replace.php for details.
If I had one associative array, I would have to separate array keys from values. I just didn't want to do that :)