public static function init() { // Set the custom function regex pattern self::$functionList = self::getFunctions(); self::$functionPatt = '!(^|[^a-z0-9_-])(' . implode('|', self::$functionList) . ')?\\(!i'; }