Regexp#to_s, gems API samples