websvn |
Subversion Repositories: |
Rev 1 | Rev 3 | |
---|---|---|
Line 2... | Line 2... | |
/************************************************************************************* |
/************************************************************************************* | |
* xml.php |
* xml.php | |
* ------- |
* ------- | |
* Author: Nigel McNie (nigel@geshi.org) |
* Author: Nigel McNie (nigel@geshi.org) | |
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) |
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) | |
* Release Version: 1.0.8.1 |
* Release Version: 1.0.8.3 | |
* Date Started: 2004/09/01 |
* Date Started: 2004/09/01 | |
* |
* | |
* XML language file for GeSHi. Based on the idea/file by Christian Weiske |
* XML language file for GeSHi. Based on the idea/file by Christian Weiske | |
* |
* | |
* CHANGES |
* CHANGES | |
Line 98... | Line 98... | |
'OOLANG' => false, |
'OOLANG' => false, | |
'OBJECT_SPLITTERS' => array( |
'OBJECT_SPLITTERS' => array( | |
), |
), | |
'REGEXPS' => array( |
'REGEXPS' => array( | |
0 => array(//attribute names |
0 => array(//attribute names | |
GESHI_SEARCH => '([a-z0-9_\-:]+)(=)', |
GESHI_SEARCH => '([a-z_:][\w\-\.:]*)(=)', | |
GESHI_REPLACE => '\\1', |
GESHI_REPLACE => '\\1', | |
GESHI_MODIFIERS => 'i', |
GESHI_MODIFIERS => 'i', | |
GESHI_BEFORE => '', |
GESHI_BEFORE => '', | |
GESHI_AFTER => '\\2' |
GESHI_AFTER => '\\2' | |
), |
), | |
1 => array(//Initial header line |
1 => array(//Initial header line | |
GESHI_SEARCH => '(<[\/?|(\?xml)]?[a-z0-9_\-:]*(\??>)?)', |
GESHI_SEARCH => '(<[\/?|(\?xml)]?[a-z_:][\w\-\.:]*(\??>)?)', | |
GESHI_REPLACE => '\\1', |
GESHI_REPLACE => '\\1', | |
GESHI_MODIFIERS => 'i', |
GESHI_MODIFIERS => 'i', | |
GESHI_BEFORE => '', |
GESHI_BEFORE => '', | |
GESHI_AFTER => '' |
GESHI_AFTER => '' | |
), |
), |