<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>geniusium</author_name>
  <author_url>https://blog.hatena.ne.jp/geniusium/</author_url>
  <blog_title>かすみん日記</blog_title>
  <blog_url>https://geniusium.hatenablog.com/</blog_url>
  <categories>
    <anon>正規表現</anon>
  </categories>
  <description>正規表現の先読みと後読みの違いを表で整理する。 日本語で説明聞いてもよくわからないので、表から法則性を読み取る作戦に出る。 肯定の方だけ。 検索対象文字列は以下で固定とする。 hello_world!! 分類 正規表現 一致文字列 先・後読みで取得した「位置」に@ 挿入 肯定先読み .*(?=world) hello_ hello_@world!! 肯定先読み (?=world).* world!! hello_@world!! 肯定後読み .*(?&lt;=world) hello_world hello_world@!! 肯定後読み (?&lt;=world).* !! hello_world@!! …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgeniusium.hatenablog.com%2Fentry%2F2024%2F01%2F28%2F111432&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>2024-01-28 11:14:32</published>
  <title>【正規表現】先読みと後読みの違いを表で理解する</title>
  <type>rich</type>
  <url>https://geniusium.hatenablog.com/entry/2024/01/28/111432</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
