I documented this under e modifier: "Single and double quotes are escaped by backslashes in substituted backreferences."
Decision if the behavior will change is up to the others. You can use preg_replace_callback() instead of e modifier. It doesn't escape quotes and is more PHPish :-). Jakub Vrána -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php