<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>unau</author_name>
  <author_url>https://blog.hatena.ne.jp/unau/</author_url>
  <blog_title>昨日知ったこと</blog_title>
  <blog_url>https://unau.hatenadiary.org/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>「独自のプロパティを作ってそれを利用した正規表現」による置換と、「既存のブロックを使った正規表現」による置換とを比べてみる。実際には、「独自のプロパティを作る」のに必要なコンパイル時間や、それぞれの正規表現をコンパイルする時間も比較しなければならないところ。 use strict; use warnings; # an utility function sub cut_here { my ($lines) = @_; $lines =~ s{ ^[ ]+ }{}xmsg; $lines =~ s{ [ ]+ \# .* $}{}xmg; # (?-s) $lines; } # an origi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Funau.hatenadiary.org%2Fentry%2F20100203%2F1265162044&quot; title=&quot;独自のプロパティを使った正規表現置換のベンチマーク - 昨日知ったこと&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>2010-02-03 10:54:04</published>
  <title>独自のプロパティを使った正規表現置換のベンチマーク</title>
  <type>rich</type>
  <url>https://unau.hatenadiary.org/entry/20100203/1265162044</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
