<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nkgt_chkonk</author_name>
  <author_url>https://blog.hatena.ne.jp/nkgt_chkonk/</author_url>
  <blog_title>猫型の蓄音機は 1 分間に 45 回にゃあと鳴く</blog_title>
  <blog_url>https://nekogata.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>RubyのString#splitは、下記のようなおもしろ挙動を持っている &quot; a\nb \t c \rd &quot;.split(' ') # =&gt; [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;] これは（とうぜんのことながら）ちゃんとDocumentedである docs.ruby-lang.org 1 バイトの空白文字 ' ' 先頭と末尾の空白を除いたうえで、空白文字列で分割する。 便利なんだけど知らないでいると意図せぬバグを埋め込んでしまうかもしれないので、知っておいて損はないかもしれない（ぼくは今日知った）</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnekogata.hatenablog.com%2Fentry%2F2019%2F06%2F11%2F165259&quot; title=&quot;rubyのString#splitのおもしろ挙動 - 猫型の蓄音機は 1 分間に 45 回にゃあと鳴く&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-06-11 16:52:59</published>
  <title>rubyのString#splitのおもしろ挙動</title>
  <type>rich</type>
  <url>https://nekogata.hatenablog.com/entry/2019/06/11/165259</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
