
08.09.2009, 17:29
|
|
Reservists Of Antichat - Level 6
Регистрация: 22.01.2007
Сообщений: 616
Провел на форуме: 7452489
Репутация:
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(/\\/, '\\\\\\\\')!
|
|
|