summaryrefslogtreecommitdiffstats
path: root/application/libraries/geshi/javascript.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-02-14 01:17:10 +0100
committerFlorian Pritz <bluewind@xinu.at>2012-02-14 01:17:10 +0100
commita635c931ff8aa79728d93a4835e06a75e8f90be8 (patch)
treeec99bc646bca4cd8d37e58378d07c1ebd1f0499f /application/libraries/geshi/javascript.php
parent798a4824a2aa099de9eb05454ebb62b1522bee65 (diff)
bump geshi to 1.0.8.10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/libraries/geshi/javascript.php')
-rw-r--r--application/libraries/geshi/javascript.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/application/libraries/geshi/javascript.php b/application/libraries/geshi/javascript.php
index 96c345477..93997a70c 100644
--- a/application/libraries/geshi/javascript.php
+++ b/application/libraries/geshi/javascript.php
@@ -4,7 +4,7 @@
* --------------
* Author: Ben Keen (ben.keen@gmail.com)
* Copyright: (c) 2004 Ben Keen (ben.keen@gmail.com), Nigel McNie (http://qbnz.com/highlighter)
- * Release Version: 1.0.8.6
+ * Release Version: 1.0.8.10
* Date Started: 2004/06/20
*
* JavaScript language file for GeSHi.
@@ -45,8 +45,10 @@ $language_data = array (
'LANG_NAME' => 'Javascript',
'COMMENT_SINGLE' => array(1 => '//'),
'COMMENT_MULTI' => array('/*' => '*/'),
- //Regular Expressions
- 'COMMENT_REGEXP' => array(2 => "/(?<=[\\s^])s\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/[gimsu]*(?=[\\s$\\.\\;])|(?<=[\\s^(=])m?\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/[gimsu]*(?=[\\s$\\.\\,\\;\\)])/iU"),
+ 'COMMENT_REGEXP' => array(
+ //Regular Expressions
+ 2 => "/(?<=[\\s^])(s|tr|y)\\/(?!\*)(?!\s)(?:\\\\.|(?!\n)[^\\/\\\\])+(?<!\s)\\/(?!\s)(?:\\\\.|(?!\n)[^\\/\\\\])*(?<!\s)\\/[msixpogcde]*(?=[\\s$\\.\\;])|(?<=[\\s^(=])(m|q[qrwx]?)?\\/(?!\*)(?!\s)(?:\\\\.|(?!\n)[^\\/\\\\])+(?<!\s)\\/[msixpogc]*(?=[\\s$\\.\\,\\;\\)])/iU"
+ ),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
'QUOTEMARKS' => array("'", '"'),
'ESCAPE_CHAR' => '\\',
@@ -147,4 +149,4 @@ $language_data = array (
)
);
-?>
+?> \ No newline at end of file