summaryrefslogtreecommitdiff
path: root/inc/geshi/xml.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/geshi/xml.php')
-rw-r--r--inc/geshi/xml.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/inc/geshi/xml.php b/inc/geshi/xml.php
index 198bfa732..eb42d6aa4 100644
--- a/inc/geshi/xml.php
+++ b/inc/geshi/xml.php
@@ -4,10 +4,10 @@
* -------
* Author: Nigel McNie (oracle.shinoda@gmail.com)
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
- * Release Version: 1.0.7.14
- * CVS Revision Version: $Revision: 1.18.2.4 $
+ * Release Version: 1.0.7.15
+ * CVS Revision Version: $Revision: 1.18.2.6 $
* Date Started: 2004/09/01
- * Last Modified: $Date: 2006/08/22 10:42:37 $
+ * Last Modified: $Date: 2006/10/11 12:24:50 $
*
* XML language file for GeSHi. Based on the idea/file by Christian Weiske
*
@@ -100,14 +100,14 @@ $language_data = array (
),
'REGEXPS' => array(
0 => array(
- GESHI_SEARCH => '(((xml:)?[a-z\-]+))(=)',
+ GESHI_SEARCH => '([a-z\-:]+)(=)',
GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => 'i',
GESHI_BEFORE => '',
- GESHI_AFTER => '\\4'
+ GESHI_AFTER => '\\2'
),
1 => array(
- GESHI_SEARCH => '(<[/?|(\?xml)]?[a-z0-9_\-]*(\??>)?)',
+ GESHI_SEARCH => '(<[/?|(\?xml)]?[a-z0-9_\-:]*(\??>)?)',
GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => 'i',
GESHI_BEFORE => '',
@@ -144,4 +144,4 @@ $language_data = array (
)
);
-?> \ No newline at end of file
+?>