Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ruby 1.8.7でUnicode引用符を見つけて置き換える方法は?例:from:
“Good morning.”
に:
'Good morning.'
通常の検索と置換を実行できるはずです。例:
>> '“Good morning.”'.gsub(%r/“|”/, "'") => "'Good morning.'"