Fixed regexp for squeezing slashes (RT#89108)