<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ayato0211</author_name>
  <author_url>https://blog.hatena.ne.jp/ayato0211/</author_url>
  <blog_title>(define -ayalog '())</blog_title>
  <blog_url>https://ayato.hateblo.jp/</blog_url>
  <categories>
    <anon>Clojure</anon>
    <anon>stackoverflow</anon>
  </categories>
  <description>Clojure split lines with all empty lines kept文字列中の最後の空行を Clojure だとどうやって残したらいいの?という質問。 user=&gt; (require 'clojure.string) nil user=&gt; (clojure.string/split-lines &quot;a\n\nb\n&quot;) [&quot;a&quot; &quot;&quot; &quot;b&quot;] user=&gt; (clojure.string/split &quot;a\n\nb\n&quot; #&quot;\n&quot;) [&quot;a&quot; &quot;&quot; &quot;b&quot;] Python だと &gt;&gt;&gt; 'a\n\nb\n'.split('\n') ['a', '', 'b', ''] …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayato.hateblo.jp%2Fentry%2F20150416%2F1429141290&quot; title=&quot;Clojure で分割した行の全ての空行を保持したいんだけど… - (define -ayalog &amp;#39;())&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>2015-04-16 08:41:30</published>
  <title>Clojure で分割した行の全ての空行を保持したいんだけど…</title>
  <type>rich</type>
  <url>https://ayato.hateblo.jp/entry/20150416/1429141290</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
