<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nakinor</author_name>
  <author_url>https://blog.hatena.ne.jp/nakinor/</author_url>
  <blog_title>sci</blog_title>
  <blog_url>https://sci.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>スクリプトが変 Emacs Lisp で実装したものでは思惑通りの辞書が出来ているのだけれど、Ruby で作成した json へのコンバーターによる出力だと「空白+単語」の要素が登録されていない。いや登録はされているのだけれど空白が除かれてしまっているのだ。たぶん正規表現が悪いのだろう。 パースする関数の正規表現の部分が駄目だったみたい。これを次のように修正すると期待通りの出力になった。 前： pairs = string.split(/\s* \/\s*/) 後： pairs = string.split(/\s* \//) 正規表現はよくわからんのう。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsci.hateblo.jp%2Fentry%2Fregexp_problem&quot; title=&quot;正規表現はむずかしい - sci&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-10 00:00:00</published>
  <title>正規表現はむずかしい</title>
  <type>rich</type>
  <url>https://sci.hateblo.jp/entry/regexp_problem</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
