diff options
author | Andreas Gohr <gohr@cosmocode.de> | 2010-01-11 13:19:46 +0100 |
---|---|---|
committer | Andreas Gohr <gohr@cosmocode.de> | 2010-01-11 13:19:46 +0100 |
commit | 29df5bf1c20e236ae1b30eefe7ccbedf1cde39d4 (patch) | |
tree | 6b66ecb7139e5f2898cbee7d24671ad85ba58ad8 /inc/geshi/php-brief.php | |
parent | c471e6a6aee9997e62ce58c3e49dd8ecad28b92a (diff) | |
download | rpg-29df5bf1c20e236ae1b30eefe7ccbedf1cde39d4.tar.gz rpg-29df5bf1c20e236ae1b30eefe7ccbedf1cde39d4.tar.bz2 |
Upgraded GeSHi to 1.0.8.6
Diffstat (limited to 'inc/geshi/php-brief.php')
-rw-r--r-- | inc/geshi/php-brief.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/inc/geshi/php-brief.php b/inc/geshi/php-brief.php index 2a5d78611..ceaf423af 100644 --- a/inc/geshi/php-brief.php +++ b/inc/geshi/php-brief.php @@ -4,7 +4,7 @@ * ------------- * Author: Nigel McNie (nigel@geshi.org) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.8.4 + * Release Version: 1.0.8.6 * Date Started: 2004/06/02 * * PHP (brief version) language file for GeSHi. @@ -185,7 +185,7 @@ $language_data = array ( 3 => array( '<script language="php">' => '</script>' ), - 4 => "/(?<start><\\?(?>php\b)?)(?:". + 4 => "/(?P<start><\\?(?>php\b)?)(?:". "(?>[^\"'?\\/<]+)|". "\\?(?!>)|". "(?>'(?>[^'\\\\]|\\\\'|\\\\\\\|\\\\)*')|". @@ -194,9 +194,9 @@ $language_data = array ( "\\/\\/(?>.*?$)|". "\\/(?=[^*\\/])|". "<(?!<<)|". - "<<<(?<phpdoc>\w+)\s.*?\s\k<phpdoc>". - ")*(?<end>\\?>|\Z)/sm", - 5 => "/(?<start><%)(?:". + "<<<(?P<phpdoc>\w+)\s.*?\s\k<phpdoc>". + ")*(?P<end>\\?>|\Z)/sm", + 5 => "/(?P<start><%)(?:". "(?>[^\"'%\\/<]+)|". "%(?!>)|". "(?>'(?>[^'\\\\]|\\\\'|\\\\\\\|\\\\)*')|". @@ -205,8 +205,8 @@ $language_data = array ( "\\/\\/(?>.*?$)|". "\\/(?=[^*\\/])|". "<(?!<<)|". - "<<<(?<phpdoc>\w+)\s.*?\s\k<phpdoc>". - ")*(?<end>%>)/sm" + "<<<(?P<phpdoc>\w+)\s.*?\s\k<phpdoc>". + ")*(?P<end>%>)/sm" ), 'HIGHLIGHT_STRICT_BLOCK' => array( 0 => true, |