From 2b8d02bf0a560f0ee8fa887fed0d2bbf66b10bae Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Mon, 23 Mar 2009 10:42:53 +0100 Subject: GeSHi 1.0.8.3 update Ignore-this: d204f804a634d5a537737dc4a50c3c13 darcs-hash:20090323094253-7ad00-003ea6c7b9cb1306ad0623274917bbfc042a0103.gz --- inc/geshi/xml.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'inc/geshi/xml.php') 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 => '(<[\/?|(\?xml)]?[a-z0-9_\-:]*(\??>)?)', + GESHI_SEARCH => '(<[\/?|(\?xml)]?[a-z_:][\w\-\.:]*(\??>)?)', GESHI_REPLACE => '\\1', GESHI_MODIFIERS => 'i', GESHI_BEFORE => '', -- cgit v1.2.3