plugins/geshi/geshi/gnuplot.php
changeset 3 f3e2bbbd2155
parent 2 9e3258dfae15
--- a/plugins/geshi/geshi/gnuplot.php	Fri May 29 19:30:59 2009 -0400
+++ b/plugins/geshi/geshi/gnuplot.php	Fri May 29 19:40:15 2009 -0400
@@ -4,7 +4,7 @@
  * ----------
  * Author: Milian Wolff (mail@milianw.de)
  * Copyright: (c) 2008 Milian Wolff (http://milianw.de)
- * Release Version: 1.0.8.2
+ * Release Version: 1.0.8.4
  * Date Started: 2008/07/07
  *
  * Gnuplot script language file for GeSHi.
@@ -216,7 +216,7 @@
         ),
     '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 @@
     'TAB_WIDTH' => 4
 );
 
-?>
+?>
\ No newline at end of file