Changeset 2246
- Timestamp:
- 07/21/08 14:21:35 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/branches/prototype/_dev/packager/fckpackager.php
r2239 r2246 309 309 // Remove "/* */" comments 310 310 $script = preg_replace( 311 '/ \/\*.*?\*\//s',311 '/(?<!\/)\/\*.*?\*\//s', 312 312 '', $script ) ; 313 313 … … 702 702 // Catches string literals, regular expressions and conditional comments. 703 703 return preg_replace_callback( 704 '/(?:("|\').*?(?<!\\\\)\1)|(?:(?<![\*\/\\\\])\/[^\/\*].*?(?<!\\\\)\/(? !\s+[\w\d])(?=.*;))|(?s:\/\*@(?:cc_on|if|elif|else|end).*?@\*\/)/',704 '/(?:("|\').*?(?<!\\\\)\1)|(?:(?<![\*\/\\\\])\/[^\/\*].*?(?<!\\\\)\/(?=([\.\w])|(\s*[,;}\)])))|(?s:\/\*@(?:cc_on|if|elif|else|end).*?@\*\/)/', 705 705 array( &$this, '_ProtectStringsMatch' ), $source ) ; 706 706 }
Note: See TracChangeset
for help on using the changeset viewer.
