<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gongoZ</author_name>
  <author_url>https://blog.hatena.ne.jp/gongoZ/</author_url>
  <blog_title>Thanks Driven Life</blog_title>
  <blog_url>https://gongo.hatenablog.com/</blog_url>
  <categories>
    <anon>emacs</anon>
  </categories>
  <description>結論から (replace-regexp-in-string &quot;\\`\\(?:\\s-\\|\n\\)+\\|\\(?:\\s-\\|\n\\)+\\'&quot; &quot;&quot; str) 経緯 &quot; \n 12345 hoge\nhoge \n hago \n a \n&quot; みたいな文字列を &quot;12345 hoge\nhoge \n hago \n a&quot; てな感じで、先頭と末尾の空白や改行を取り除くってのをしたかった。最初は (replace-regexp-in-string &quot;^\\(?:\\s-\\|\n\\)+\\|\\(?:\\s-\\|\n\\)+$&quot; &quot;&quot; str) とかしてたんだけど、これだと &quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgongo.hatenablog.com%2Fentry%2F20111206%2F1323177550&quot; title=&quot;emacs lisp で行頭＆行末ではなく、文字列の先頭＆末尾にある改行＆白文字を削除 - Thanks Driven Life&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>2011-12-06 22:19:10</published>
  <title>emacs lisp で行頭＆行末ではなく、文字列の先頭＆末尾にある改行＆白文字を削除</title>
  <type>rich</type>
  <url>https://gongo.hatenablog.com/entry/20111206/1323177550</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
