summaryrefslogtreecommitdiff
path: root/inc/geshi/delphi.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/geshi/delphi.php')
-rw-r--r--inc/geshi/delphi.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/geshi/delphi.php b/inc/geshi/delphi.php
index 7de1f8c1e..9d7ad7e7d 100644
--- a/inc/geshi/delphi.php
+++ b/inc/geshi/delphi.php
@@ -4,7 +4,7 @@
* ----------
* Author: J�rja Norbert (jnorbi@vipmail.hu), Benny Baumann (BenBE@omorphia.de)
* Copyright: (c) 2004 J�rja Norbert, Benny Baumann (BenBE@omorphia.de), Nigel McNie (http://qbnz.com/highlighter)
- * Release Version: 1.0.8.3
+ * Release Version: 1.0.8.4
* Date Started: 2004/07/26
*
* Delphi (Object Pascal) language file for GeSHi.
@@ -50,7 +50,7 @@ $language_data = array (
'COMMENT_SINGLE' => array(1 => '//'),
'COMMENT_MULTI' => array('(*' => '*)', '{' => '}'),
//Compiler directives
- 'COMMENT_REGEXP' => array(2 => '/{\\$.*?}|\\(\\*\\$.*?\\*\\)/U'),
+ 'COMMENT_REGEXP' => array(2 => '/\\{\\$.*?}|\\(\\*\\$.*?\\*\\)/U'),
'CASE_KEYWORDS' => 0,
'QUOTEMARKS' => array("'"),
'ESCAPE_CHAR' => '',
@@ -276,7 +276,7 @@ $language_data = array (
//Hex numbers
0 => '\$[0-9a-fA-F]+',
//Characters
- 1 => '\#\$?[0-9]{1,3}'
+ 1 => '\#(?:\$[0-9a-fA-F]{1,2}|\d{1,3})'
),
'STRICT_MODE_APPLIES' => GESHI_NEVER,
'SCRIPT_DELIMITERS' => array(
@@ -286,4 +286,4 @@ $language_data = array (
'TAB_WIDTH' => 2
);
-?>
+?> \ No newline at end of file