<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ysk_lucky-star</author_name>
  <author_url>https://blog.hatena.ne.jp/ysk_lucky-star/</author_url>
  <blog_title>ysk_lucky-star’s diary</blog_title>
  <blog_url>https://ysk-lucky-star.hatenadiary.jp/</blog_url>
  <categories>
    <anon>perl</anon>
    <anon>study</anon>
  </categories>
  <description>また正規表現です。正規表現だけで3章も使ってる。大変だ＞＜ 第八章 正規表現の詳細 練習問題1 ワード fred または wilma があり、次に何個かの空白文字があり、その後ろにワード flintstone があるような行だけにマッチするパターンを作成しましょう。 #!/usr/local/bin/perl -w while(&lt;&gt;) { chomp; if (/\b(fred|wilma)\s+flintstone\b/) { print &quot;Matched: |$`&lt;$&amp;&gt;$'|\n&quot;; } else { print &quot;No match.\n&quot;; } } 練習問題2 この問題では、先に解答を…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fysk-lucky-star.hatenadiary.jp%2Fentry%2F20080416%2F1208318229&quot; title=&quot;「初めての Perl」勉強5日目 - ysk_lucky-star’s diary&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-16 12:57:09</published>
  <title>「初めての Perl」勉強5日目</title>
  <type>rich</type>
  <url>https://ysk-lucky-star.hatenadiary.jp/entry/20080416/1208318229</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
