diff options
Diffstat (limited to 'inc/geshi/gnuplot.php')
-rw-r--r-- | inc/geshi/gnuplot.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/geshi/gnuplot.php b/inc/geshi/gnuplot.php index 3b67fb6fa..863d0dbd6 100644 --- a/inc/geshi/gnuplot.php +++ b/inc/geshi/gnuplot.php @@ -4,7 +4,7 @@ * ---------- * Author: Milian Wolff (mail@milianw.de) * Copyright: (c) 2008 Milian Wolff (http://milianw.de) - * Release Version: 1.0.8.3 + * Release Version: 1.0.8.4 * Date Started: 2008/07/07 * * Gnuplot script language file for GeSHi. @@ -216,7 +216,7 @@ $language_data = array ( ), 'REGEXPS' => array( //Variable assignment - 0 => "([a-zA-Z_][a-zA-Z0-9_]*)\s*=", + 0 => "(?<![?;>\w])([a-zA-Z_][a-zA-Z0-9_]*)\s*=", //Numbers with unit 1 => "(?<=^|\s)([0-9]*\.?[0-9]+\s*cm)" ), @@ -293,4 +293,4 @@ $language_data = array ( 'TAB_WIDTH' => 4 ); -?> +?>
\ No newline at end of file |