Closed cleankod closed 13 years ago
When a title of response is like this:
which is the usual Polish Error404 message, the regexp: var getTitle = new RegExp('[\n\r\s](._)[\n\r\s]*', 'gmi'); leaves me with: trony nie znaleziono
Replace with '
Need to escape the \s
Branches develop and develop-0.9.8 branches patched
When a title of response is like this:
which is the usual Polish Error404 message, the regexp: var getTitle = new RegExp('[\n\r\s] (._)[\n\r\s]*', 'gmi');
leaves me with:
trony nie znaleziono