Показать сообщение отдельно

  #33  
Старый 08.09.2009, 17:29
geezer.code
Reservists Of Antichat - Level 6
Регистрация: 22.01.2007
Сообщений: 616
С нами: 10158086

Репутация: 1359


По умолчанию

Может уже стоит читать книжку внимательнее??
Цитата:
However, when the substitution occurs, the regular expression engine performs another pass through the string, converting "\\'' to "\'', so the net effect is to replace each single backslash with another single backslash. You need to write gsub(/\\/, '\\\\\\\\')!
 
Ответить с цитированием