Changeset 2242 for FCKpackager/trunk
- Timestamp:
- 2008-07-21 13:50:45 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
FCKpackager/trunk/_source/includes/fckstringsprocessor.inc
r2237 r2242 34 34 // Catches string literals, regular expressions and conditional comments. 35 35 return preg_replace_callback( 36 '/(?:("|\').*?(?<!\\\\)\1)|(?:(?<![\*\/\\\\])\/[^\/\*].*?(?<!\\\\)\/(? !\s+[\w\d])(?=.*;))|(?s:\/\*@(?:cc_on|if|elif|else|end).*?@\*\/)/',36 '/(?:("|\').*?(?<!\\\\)\1)|(?:(?<![\*\/\\\\])\/[^\/\*].*?(?<!\\\\)\/(?=[\.\w;[({]))|(?s:\/\*@(?:cc_on|if|elif|else|end).*?@\*\/)/', 37 37 array( &$this, '_ProtectStringsMatch' ), $source ) ; 38 38 }