<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hiroyukim</author_name>
  <author_url>https://blog.hatena.ne.jp/hiroyukim/</author_url>
  <blog_title> (ヽ´ω`)　</blog_title>
  <blog_url>https://hiroyukim.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>while /\A(.*?)/.match(str) Regexp.last_match end \Aは ^と似た働きをしますが、大きな違いは ^が文字列中に埋め込まれた改行の直後にもマッチする場合があるのに対して、この演算子は常に文字列の先頭にのみマッチするということです。で、これをperlに変えるには、如何するべきか、改行なくしちゃうのが一番早いか。 my $str =~ s/\n//g; うーん。http://www.kt.rim.or.jp/~kbk/regex/regex.html#PERL-BBUFER</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiroyukim.hatenablog.jp%2Fentry%2F20080201%2F1201881249&quot; title=&quot; [perl][ruby][\A] -  (ヽ´ω`)　&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>2008-02-01 00:54:09</published>
  <title> [perl][ruby][\A]</title>
  <type>rich</type>
  <url>https://hiroyukim.hatenablog.jp/entry/20080201/1201881249</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
