<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>jyukutyo</author_name>
  <author_url>https://blog.hatena.ne.jp/jyukutyo/</author_url>
  <blog_title>Fight the Future</blog_title>
  <blog_url>https://www.sakatakoichi.com/</blog_url>
  <categories>
    <anon>programming</anon>
  </categories>
  <description>&quot;boo:and:foo&quot; o 5 { &quot;b&quot;, &quot;&quot;, &quot;:and:f&quot;, &quot;&quot;, &quot;&quot; } o -2 { &quot;b&quot;, &quot;&quot;, &quot;:and:f&quot;, &quot;&quot;, &quot;&quot; } o 0 { &quot;b&quot;, &quot;&quot;, &quot;:and:f&quot; } ゼロの場合、このパターンの適用回数と配列の長さは制限されませんが、後続の空の文字列は破棄されます。Pattern#split()で第2引数であるlimitを渡さなければ、オーバーロードされたメソッドが呼び出されて、limitは0として扱われる。 そのとき末尾のマッチングがポイントで、limitが0だと末尾がマッチングしても破棄される。 破棄せずに空文字で結果がほしい場合は、lim…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.sakatakoichi.com%2Fentry%2F20090110%2F1231583885&quot; title=&quot;Pattern#split()をちゃんと理解した - Fight the Future&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>2009-01-11 12:38:05</published>
  <title>Pattern#split()をちゃんと理解した</title>
  <type>rich</type>
  <url>https://www.sakatakoichi.com/entry/20090110/1231583885</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
