replaced preg_replace with preg_replace_callback
Merge branch 'master' of github.com:arroyo/Erdiko