summaryrefslogtreecommitdiff
path: root/inc/geshi/xml.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2009-03-23 10:42:53 +0100
committerAndreas Gohr <andi@splitbrain.org>2009-03-23 10:42:53 +0100
commit2b8d02bf0a560f0ee8fa887fed0d2bbf66b10bae (patch)
treed8fd32b508377b76b9213b0b67835eac9b003345 /inc/geshi/xml.php
parentccf354b192cc6f8e554b4729cb1424b93bf82602 (diff)
downloadrpg-2b8d02bf0a560f0ee8fa887fed0d2bbf66b10bae.tar.gz
rpg-2b8d02bf0a560f0ee8fa887fed0d2bbf66b10bae.tar.bz2
GeSHi 1.0.8.3 update
Ignore-this: d204f804a634d5a537737dc4a50c3c13 darcs-hash:20090323094253-7ad00-003ea6c7b9cb1306ad0623274917bbfc042a0103.gz
Diffstat (limited to 'inc/geshi/xml.php')
-rw-r--r--inc/geshi/xml.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/geshi/xml.php b/inc/geshi/xml.php
index afc1217e9..48b748cc4 100644
--- a/inc/geshi/xml.php
+++ b/inc/geshi/xml.php
@@ -4,7 +4,7 @@
* -------
* Author: Nigel McNie (nigel@geshi.org)
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
- * Release Version: 1\.0\.8
+ * Release Version: 1.0.8.3
* Date Started: 2004/09/01
*
* XML language file for GeSHi. Based on the idea/file by Christian Weiske
@@ -100,14 +100,14 @@ $language_data = array (
),
'REGEXPS' => array(
0 => array(//attribute names
- GESHI_SEARCH => '([a-z0-9_\-:]+)(=)',
+ GESHI_SEARCH => '([a-z_:][\w\-\.:]*)(=)',
GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => 'i',
GESHI_BEFORE => '',
GESHI_AFTER => '\\2'
),
1 => array(//Initial header line
- GESHI_SEARCH => '(&lt;[\/?|(\?xml)]?[a-z0-9_\-:]*(\??&gt;)?)',
+ GESHI_SEARCH => '(&lt;[\/?|(\?xml)]?[a-z_:][\w\-\.:]*(\??&gt;)?)',
GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => 'i',
GESHI_BEFORE => '',