plugins/geshi/geshi/gnuplot.php
changeset 3 f3e2bbbd2155
parent 2 9e3258dfae15
equal deleted inserted replaced
2:9e3258dfae15 3:f3e2bbbd2155
     2 /*************************************************************************************
     2 /*************************************************************************************
     3  * gnuplot.php
     3  * gnuplot.php
     4  * ----------
     4  * ----------
     5  * Author: Milian Wolff (mail@milianw.de)
     5  * Author: Milian Wolff (mail@milianw.de)
     6  * Copyright: (c) 2008 Milian Wolff (http://milianw.de)
     6  * Copyright: (c) 2008 Milian Wolff (http://milianw.de)
     7  * Release Version: 1.0.8.2
     7  * Release Version: 1.0.8.4
     8  * Date Started: 2008/07/07
     8  * Date Started: 2008/07/07
     9  *
     9  *
    10  * Gnuplot script language file for GeSHi.
    10  * Gnuplot script language file for GeSHi.
    11  *
    11  *
    12  * CHANGES
    12  * CHANGES
   214             'vttek', 'x11', 'xlib',
   214             'vttek', 'x11', 'xlib',
   215             )
   215             )
   216         ),
   216         ),
   217     'REGEXPS' => array(
   217     'REGEXPS' => array(
   218         //Variable assignment
   218         //Variable assignment
   219         0 => "([a-zA-Z_][a-zA-Z0-9_]*)\s*=",
   219         0 => "(?<![?;>\w])([a-zA-Z_][a-zA-Z0-9_]*)\s*=",
   220         //Numbers with unit
   220         //Numbers with unit
   221         1 => "(?<=^|\s)([0-9]*\.?[0-9]+\s*cm)"
   221         1 => "(?<=^|\s)([0-9]*\.?[0-9]+\s*cm)"
   222         ),
   222         ),
   223     'SYMBOLS' => array(
   223     'SYMBOLS' => array(
   224         '-', '+', '~', '!', '$',
   224         '-', '+', '~', '!', '$',