<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kotaroito2002</author_name>
  <author_url>https://blog.hatena.ne.jp/kotaroito2002/</author_url>
  <blog_title>kotaroito's notes</blog_title>
  <blog_url>https://kotaroito.hatenablog.com/</blog_url>
  <categories>
    <anon>perl</anon>
  </categories>
  <description>知らなかったことをメモ（恥ずかしい、、、、） 変換演算子 tr/// #小文字にする $str =~ tr/A-Z/a-z/; デフォルト変数は$_ マッチ演算子、置換演算子、変換演算子は通常入力として $_ が使用される。 パターン結合演算子「=~」は$_以外を対象とする時に使う パターン結合演算子 =~ 左辺：スカラー変数（式） 右辺：マッチ演算子 || 置換演算子 || 変換演算子 マッチする場合は真、マッチしない場合は偽。 use strict; my $str = &quot;hoge&quot;; if ($str =~ s/hoge/piyo/) { print &quot;true&quot;, &quot;\n&quot;; } el…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkotaroito.hatenablog.com%2Fentry%2F20080420%2F1208667548&quot; title=&quot;正規表現 - kotaroito&amp;#39;s notes&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>2008-04-20 13:59:08</published>
  <title>正規表現</title>
  <type>rich</type>
  <url>https://kotaroito.hatenablog.com/entry/20080420/1208667548</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
