From a635c931ff8aa79728d93a4835e06a75e8f90be8 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 14 Feb 2012 01:17:10 +0100 Subject: bump geshi to 1.0.8.10 Signed-off-by: Florian Pritz --- application/libraries/geshi/erlang.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'application/libraries/geshi/erlang.php') diff --git a/application/libraries/geshi/erlang.php b/application/libraries/geshi/erlang.php index cb7f25bf8..ede55917c 100644 --- a/application/libraries/geshi/erlang.php +++ b/application/libraries/geshi/erlang.php @@ -7,7 +7,7 @@ * - Uwe Dauernheim (uwe@dauernheim.net) * - Dan Forest-Barbier (dan@twisted.in) * Copyright: (c) 2008 Uwe Dauernheim (http://www.kreisquadratur.de/) - * Release Version: 1.0.8.6 + * Release Version: 1.0.8.10 * Date Started: 2008-09-27 * * Erlang language file for GeSHi. @@ -355,7 +355,7 @@ $language_data = array( 2 => ':' ), 'REGEXPS' => array( - // Macro definitions + //�Macro definitions 0 => array( GESHI_SEARCH => '(-define\s*\()([a-zA-Z0-9_]+)(\(|,)', GESHI_REPLACE => '\2', @@ -381,7 +381,7 @@ $language_data = array( ), // Functions 3 => array( - GESHI_SEARCH => '([a-z][a-zA-Z0-9_]*|\'[a-zA-Z0-9_]*\')\s*(\()', + GESHI_SEARCH => '([a-z]\w*|\'\w*\')(\s*\()', GESHI_REPLACE => '\1', GESHI_MODIFIERS => '', GESHI_BEFORE => '', @@ -397,13 +397,13 @@ $language_data = array( ), // Variables - With hack to avoid interfering wish GeSHi internals 5 => array( - GESHI_SEARCH => '([([{,<+*-\/=\s!]|<)(?!(?:PIPE|SEMI|DOT|NUM|REG3XP\d*)[^a-zA-Z0-9_])([A-Z_][a-zA-Z0-9_]*)', + GESHI_SEARCH => '([([{,<+*-\/=\s!]|<)(?!(?:PIPE|SEMI|DOT|NUM|REG3XP\d*)\W)([A-Z_]\w*)(?!\w)', GESHI_REPLACE => '\2', GESHI_MODIFIERS => '', GESHI_BEFORE => '\1', GESHI_AFTER => '' ), - // ASCII codes + // ASCII�codes 6 => '(\$[a-zA-Z0-9_])', // Records 7 => array( @@ -423,8 +423,8 @@ $language_data = array( 'PARSER_CONTROL' => array( 'KEYWORDS' => array( 3 => array( - 'DISALLOWED_BEFORE' => '', - 'DISALLOWED_AFTER' => '(?=\s*\()' + 'DISALLOWED_BEFORE' => '(? ''//'(?=\s*\()' ), 5 => array( 'DISALLOWED_BEFORE' => '(?<=\'|)', -- cgit v1.2.3-24-g4f1b