From 51c546a917b3b8a24d1339fc16d8f2398a293ddf Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Thu, 26 Oct 2006 22:39:42 +0200 Subject: GeSHi 1.0.7.15 update darcs-hash:20061026203942-7ad00-6db8c37c1fba1d274fa6bcdc7cbb245d088325a5.gz --- inc/geshi/xml.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'inc/geshi/xml.php') 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 +?> -- cgit v1.2.3