<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zrbabbler</author_name>
  <author_url>https://blog.hatena.ne.jp/zrbabbler/</author_url>
  <blog_title>マクロツイーター</blog_title>
  <blog_url>https://zrbabbler.hatenablog.com/</blog_url>
  <categories>
    <anon>TeX</anon>
    <anon>TeXパズル</anon>
  </categories>
  <description>再び TeX 言語の練習問題を出してみる。 以下の要件を満たすマクロ \replaceWordAll を実装せよ。 \replaceWordAll{&lt;前&gt;}{&lt;後&gt;}{&lt;対象&gt;} は &lt;対象&gt; の文字列に含まれる全ての &lt;前&gt; に一致する部分を &lt;対象&gt; に置換した文字列を結果として返す。 置換の結果の文字列はそれ以上置換の対象とならない。((つまり sed や Perl の s///g と同じ規定。もちろんこの問題は正規表現は関係ないが。)) 「文字列」は英数字と「LaTeX で非特殊な記号」（空白は含まない）のみ*1から成ると仮定してよい。 結果の返し方の規約は次の何れかにする。 (a) …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzrbabbler.hatenablog.com%2Fentry%2F20120224%2F1330085851&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-02-24 21:17:31</published>
  <title>文字列の置換</title>
  <type>rich</type>
  <url>https://zrbabbler.hatenablog.com/entry/20120224/1330085851</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
