<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>akane_neko</author_name>
  <author_url>https://blog.hatena.ne.jp/akane_neko/</author_url>
  <blog_title>ちくちく日記</blog_title>
  <blog_url>https://chiku-chiku-nikki.hatenablog.com/</blog_url>
  <categories>
    <anon>AppleScript</anon>
  </categories>
  <description>Apple Scriptからrubyに文字列を渡して、拡張子をとるという処理をしようとしているのだけどdo shell script &quot;ruby -e 'print ARGV[0].sub(/.indd$/,＼&quot;＼&quot;)' '20060204.indd'&quot;/.indd$/ の部分、メタ文字の「.」を普通の文字として扱うため「.」の前にバックスラッシュを入れたいのだけど、素直に do shell script &quot;ruby -e 'print ARGV[0].sub(/＼.indd$/,＼&quot;＼&quot;)' '20060204.indd'&quot;とすると、AppleScirptからSyntax Errorとおこら…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchiku-chiku-nikki.hatenablog.com%2Fentry%2F20060322%2F1227171794&quot; title=&quot;do shell scriptで正規表現 - ちくちく日記&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>2006-03-22 18:03:14</published>
  <title>do shell scriptで正規表現</title>
  <type>rich</type>
  <url>https://chiku-chiku-nikki.hatenablog.com/entry/20060322/1227171794</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
