<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yutakikuchi</author_name>
  <author_url>https://blog.hatena.ne.jp/yutakikuchi/</author_url>
  <blog_title>Y's note</blog_title>
  <blog_url>https://yut.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>概要 Pythonでの正規表現の使い方についてまとめます。 r'a'表記 raw string表記を示します。余分な\を省くことが可能です。 例えば改行はr'\n'とすれば正規表現として扱うことが出来ます。 メソッド メソッド 役割 match 正規表現が文字列の先頭と一致するかチェック search 正規表現による文字列を走査 split 正規表現に一致するもので配列に分離 sub 正規表現による置換 subn subと同じだが、個数を制限可能 matchとsearch ※matchとsearchでは役割が異なるので注意が必要です。 matchは先頭との一致、searchは最後まで走査を行い…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyut.hatenablog.com%2Fentry%2F20110204%2F1296750892&quot; title=&quot;超絶簡単 Pythonでの正規表現 - Y&amp;#39;s note&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>2011-02-04 01:34:52</published>
  <title>超絶簡単 Pythonでの正規表現</title>
  <type>rich</type>
  <url>https://yut.hatenablog.com/entry/20110204/1296750892</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
