<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>AJYA</author_name>
  <author_url>https://blog.hatena.ne.jp/AJYA/</author_url>
  <blog_title>ソフトウェア開発者の日常</blog_title>
  <blog_url>https://ajya.hatenablog.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>PHP</anon>
    <anon>JavaScript</anon>
  </categories>
  <description>人名のふりがなとして、ひらがなが入力されているか、JavaScriptやPHPでチェックしています。 photo credit: fhisa via photopin cc 「ー（長音）」がひらがなと判定されない 正規表現でチェックしていて、PHPの場合、文字コードがECU-JPで作られたページでは、 preg_match(&quot;/^(¥xa4[¥xa1-¥xf3]|¥xa1[¥xb5¥xb6¥xab])+$/&quot;,$str) でチェックして、UTF-8の場合は、 preg_match(&quot;/^[ぁ-ゞ]+$/u&quot;,$str) でチェックしていました。 人名のふりがなとしては問題ありませんでしたが、そ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fajya.hatenablog.jp%2Fentry%2F2013%2F09%2F27%2F125955&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>http://cdn-ak.f.st-hatena.com/images/fotolife/A/AJYA/20130927/20130927125923.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-09-27 12:59:55</published>
  <title>ひらがなチェックでつまずいたこと</title>
  <type>rich</type>
  <url>https://ajya.hatenablog.jp/entry/2013/09/27/125955</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
