juliopontes/joomla-mvc-override — pull request #1 by phproberto (2012-08-22 23:14:15+00:00)
Title: [FIX] use token parser instead of regular expression

I wanted to test thhe plugin so I tried to make an override of:

administrator/code/com_k2/models/item.php

The plugin wasn't able to find the original class with regular expressions. Best tool to parse PHP source files is:

http://www.php.net/manual/en/function.token-get-all.php

I replace the regular expression with token_get_all().