<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kazuhira</author_name>
  <author_url>https://blog.hatena.ne.jp/Kazuhira/</author_url>
  <blog_title>CLOVER🍀</blog_title>
  <blog_url>https://kazuhira-r.hatenablog.com/</blog_url>
  <categories>
    <anon>Scala</anon>
  </categories>
  <description>今まであまり触れてこなかったので、メモを兼ねて試してみることにしました。 普通にメソッド呼び出し val targetString = &quot;Hello 1234 World 5678&quot; val numberPattern = &quot;&quot;&quot;\d+&quot;&quot;&quot;.r val alphaPattern = &quot;&quot;&quot;[a-zA-Z]+&quot;&quot;&quot;.r // Regex#findFirstIn =&gt; Option[String] numberPattern.findFirstIn(targetString) // =&gt; Some(1234) alphaPattern.findFirstIn(targetString) // =…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazuhira-r.hatenablog.com%2Fentry%2F20120429%2F1335691754&quot; title=&quot;Scalaで正規表現 - CLOVER🍀&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>2012-04-29 18:29:14</published>
  <title>Scalaで正規表現</title>
  <type>rich</type>
  <url>https://kazuhira-r.hatenablog.com/entry/20120429/1335691754</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
