<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>koba04</author_name>
  <author_url>https://blog.hatena.ne.jp/koba04/</author_url>
  <blog_title>車輪を再発明 / koba04の日記</blog_title>
  <blog_url>https://koba04.hatenadiary.org/</blog_url>
  <categories>
    <anon>Perl</anon>
    <anon>正規表現</anon>
  </categories>
  <description>タイトルを見てもなんのことかさっぱりわからないと思います。 自分でもどう説明すればいいのかわかりませんので、簡単な例を。 あなたが強い人と闘いたいとします。 で、「孫」という性の人は強いんじゃないかと考えたとします。 でも「孫悟空」と「孫悟飯」は強すぎるから闘いたくないとします。 そんな時の正規表現です。 #!/usr/bin/perl use utf8; use Encode; use Test::More tests =&gt; 5; # 悟空と悟飯は強いから嫌な正規表現！ my $regex = &quot;孫(?!(悟空|悟飯))&quot;; print encode_utf8(&quot;強いヤツと闘いたい！\n&quot;)…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkoba04.hatenadiary.org%2Fentry%2F20100306%2F1267895997&quot; title=&quot;単語単位の論理積の否定？(先読みの正規表現) - 車輪を再発明 / koba04の日記&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-03-06 02:19:57</published>
  <title>単語単位の論理積の否定？(先読みの正規表現)</title>
  <type>rich</type>
  <url>https://koba04.hatenadiary.org/entry/20100306/1267895997</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
