fix some typos in docs of string/filter.rb [ci skip]