<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mstssk</author_name>
  <author_url>https://blog.hatena.ne.jp/mstssk/</author_url>
  <blog_title>果樹園</blog_title>
  <blog_url>https://mstssk.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>まとめ ある正規表現を指定することで、日本語文章のdiffを文字単位で見れるようにできる それをgit aliasに設定したかったけど、正規表現のエスケープ周りでうまくいかなかった スクリプトファイル化したものをgit aliasで実行することで解決した 日本語を文字単位でdiffを見るいい感じの方法 gitで日本語の文章を扱っていると、行ではなく文字単位でdiffが見たかったりする。 そういう場合、↓の記事で紹介されているdiffのオプションがとても便利で重宝しています。 skoji.jp git diff --word-diff=color --word-diff-regex=$'[^\x…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmstssk.hatenablog.com%2Fentry%2F2021%2F08%2F20%2F103328&quot; title=&quot;日本語の文字単位diffオプションをgit aliasに設定する - 果樹園&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>https://cdn-ak.f.st-hatena.com/images/fotolife/m/mstssk/20210819/20210819234353.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-08-20 10:33:28</published>
  <title>日本語の文字単位diffオプションをgit aliasに設定する</title>
  <type>rich</type>
  <url>https://mstssk.hatenablog.com/entry/2021/08/20/103328</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
