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