Use preg_replace_callback instead of \e to avoid an E_DEPRECATED on php-5.5alpha
Improve method matching in configurator
Completly remove the regex in favor of simple php functions calls
Merge pull request #160 from jubianchi/php-5-5-alpha-deprecated

Avoid an E_DEPRECATED on php-5.5 alpha and method call is now case insensitive, thanks to @jubianchi !