// Compile {%cmd=some_value%} to get extension data
// Support cmd is:
// - version -> getExtensionVersion() call
- preg_match_all('/\{%(([a-zA-Z0-9-_,]+)=([^%\}]+))%\}/', $code, $matches);
+ preg_match_all('/\{%(([a-zA-Z0-9-_,]+)=([^\}]+))%\}/', $code, $matches);
//* DEBUG: */ print('<pre>'.print_r($matches, true).'</pre>');
// Default is from OUTPUT_HTML