So far i have this:
(require|include)(_once)?\(([^)]+)
which it checks for all require, require_once, include and include_once but it requires to be in the format of:
require(FOO)
I need to also find:
require FOO
so it needs to take into consideration with and without parentheses as well as the space that would be in the second example.
a style of the full code would be:
<search position="replace" regex="true"><![CDATA[~(require|include)(_once)?\(([^)]+)~]]></search>
<add><![CDATA[$1$2(VQMod::modCheck($3)]]></add>