diff options
author | Andreas Gohr <andi@splitbrain.org> | 2008-06-20 18:06:28 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2008-06-20 18:06:28 +0200 |
commit | bb62d5fbe1aa438a9e655573ea9d8c8d3183006b (patch) | |
tree | 050838041b33d8e8c5a8d4d9c93472ce099b2ed0 /inc/geshi/ini.php | |
parent | 715bdf1fe13fba0611cf88311bbc3d7945b4a544 (diff) | |
download | rpg-bb62d5fbe1aa438a9e655573ea9d8c8d3183006b.tar.gz rpg-bb62d5fbe1aa438a9e655573ea9d8c8d3183006b.tar.bz2 |
GeSHi update to 1.0.7.22
darcs-hash:20080620160628-7ad00-1bfd8f407b5b38c29c7879d67da2ea3dbd0d1816.gz
Diffstat (limited to 'inc/geshi/ini.php')
-rw-r--r-- | inc/geshi/ini.php | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/inc/geshi/ini.php b/inc/geshi/ini.php index b7de9afa4..711254475 100644 --- a/inc/geshi/ini.php +++ b/inc/geshi/ini.php @@ -4,13 +4,15 @@ * -------- * Author: deguix (cevo_deguix@yahoo.com.br) * Copyright: (c) 2005 deguix - * Release Version: 1.0.7.21 + * Release Version: 1.0.7.22 * Date Started: 2005/03/27 * * INI language file for GeSHi. * * CHANGES * ------- + * 2008/05/23 (1.0.7.22) + * - Added description of extra language features (SF#1970248) * 2005/12/28 (1.0.1) * - Removed unnecessary keyword style index * - Added support for " strings @@ -94,19 +96,22 @@ $language_data = array ( 'OBJECT_SPLITTERS' => array( ), 'REGEXPS' => array( + //Section names 0 => '\[.+\]', + //Entry names 1 => array( - GESHI_SEARCH => '([a-zA-Z0-9_]+\s*)=(.+)', - GESHI_REPLACE => '\\1', - GESHI_MODIFIERS => '', - GESHI_BEFORE => '', - GESHI_AFTER => '=\\2' + GESHI_SEARCH => '^(\s*)([a-zA-Z0-9_]+)(\s*=)', + GESHI_REPLACE => '\\2', + GESHI_MODIFIERS => 'm', + GESHI_BEFORE => '\\1', + GESHI_AFTER => '\\3' ), + //Entry values 2 => array( // Evil hackery to get around GeSHi bug: <>" and ; are added so <span>s can be matched // Explicit match on variable names because if a comment is before the first < of the span // gets chewed up... - GESHI_SEARCH => '([<>";a-zA-Z0-9_]+\s*)=(.+)', + GESHI_SEARCH => '([<>";a-zA-Z0-9_]+\s*)=(.*)', GESHI_REPLACE => '\\2', GESHI_MODIFIERS => '', GESHI_BEFORE => '\\1=', |