summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorDavid Cox Jr <DaveMC08@gmail.com>2013-10-03 05:16:51 +0200
committerDavid Cox Jr <DaveMC08@gmail.com>2013-10-03 05:16:51 +0200
commita442bc2bced3bd9359548c376f99027d5334a1c7 (patch)
tree4c131d74f662abbbe9ccf6b054085166f0fdac1f /system/core
parent57ba100129c2807153d88dc4e1d423f6e6c8a9a6 (diff)
re-fixes #2637
delimiter used for regex bounds found in neg. lookahead causes error using @ delimiter now for this expression
Diffstat (limited to 'system/core')
-rw-r--r--system/core/Output.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Output.php b/system/core/Output.php
index 7a5fb66f6..04209d920 100644
--- a/system/core/Output.php
+++ b/system/core/Output.php
@@ -847,7 +847,7 @@ class CI_Output {
}
// Remove CSS comments
- $output = preg_replace('!/\*([^/][^*]*\*)*/(?!.+?["\'])!i', '', $output);
+ $output = preg_replace('@/\*([^/][^*]*\*)*/(?!.+?["\'])@i', '', $output);
// Remove Javascript inline comments
if ($has_tags === TRUE && strpos(strtolower($open_tag), 'script') !== FALSE)