< :前の番号
^ :番号順リスト
> :次の番号
P :前の記事(スレッド移動)
N :次の記事(スレッド移動)
|<:前のスレッド
>|:次のスレッド
^ :返事先
_:自分への返事
>:同じ返事先を持つ記事(前)
<:同じ返事先を持つ記事(後)
---:分割してスレッド表示、再表示
| :分割して(縦)スレッド表示、再表示
~ :スレッドのフレーム消去
.:インデックス
..:インデックスのインデックス
>>>>> "n" == noreply <noreply / rubyforge.org> writes:
not really a bug, it's how ruby interpret \ in #sub
>> puts 'abcde'.sub(/c/, '\&')
n> abcde
it's the normal \&
>> puts 'abcde'.sub(/c/, '\\&')
n> abcde
When ruby build the string, it will give the 2 characters '\&' which will
be interpreted by the regexp engine like in 1)
>> puts 'abcde'.sub(/c/, '\\\&')
n> ab\&de
When ruby build the string, it will give \\& and it will do the same than
in 4)
>> puts 'abcde'.sub(/c/, '\\\\&')
n> ab\&de
This give the string '\\&', i.e. 2 characters '\' and '&'
>> puts 'abcde'.sub(/c/, '\\\\\&')
n> ab\cde
This give '\\\&' , i.e. '\' with '\&'
Guy Decoux