<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shin1x1</author_name>
  <author_url>https://blog.hatena.ne.jp/shin1x1/</author_url>
  <blog_title>Shin x Blog</blog_title>
  <blog_url>https://blog.shin1x1.com/</blog_url>
  <categories>
  </categories>
  <description>正規表現を書く際、どのようなパターンにマッチさせるか、どこをキャプチャするかという視点で記述することはあっても、パフォーマンスを考えて記述するというのはある程度知っている人でなければ忘れがちな視点です。 このエントリでは、バックトラックをメインに正規表現がパフォーマンスに及ぼす挙動について見ていきます。 対象の正規表現エンジン ここでは、従来型 NFA を対象としています。具体的には、PHP の preg_ 関数で利用している PCRE や mb_ereg 関数が利用している鬼車です。Perl や Ruby、Python、Java、.NET でも従来型 NFA を採用しているので、似た挙動とな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.shin1x1.com%2Fentry%2Fregex-performance&quot; title=&quot;パフォーマンスを意識して正規表現を書く - Shin x Blog&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>https://cdn-ak.f.st-hatena.com/images/fotolife/s/shin1x1/20160817/20160817160205.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-08-23 11:00:00</published>
  <title>パフォーマンスを意識して正規表現を書く</title>
  <type>rich</type>
  <url>https://blog.shin1x1.com/entry/regex-performance</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
