<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>atasatamatara</author_name>
  <author_url>https://blog.hatena.ne.jp/atasatamatara/</author_url>
  <blog_title>憧れ駆動開発</blog_title>
  <blog_url>https://atasatamatara.hatenablog.jp/</blog_url>
  <categories>
    <anon>sh</anon>
  </categories>
  <description>適当にエスケープしてメタ文字消して置換しようとしたけど、正直よくわからなかった。たとえばこういうもの Obj.objects.create(**kwargs) こういうとき愚直に「. をエスケープして……あれ()ってクオートで囲むの……あれ……」とかやってた 別に単純な文字列のマッチでよかった そういうときには grep なら -F, ag なら -Q というオブションがある # grep grep -rF &quot;Obj.objects.create(**kwargs)&quot; ./ # ag ag -Q &quot;Obj.objects.create(**kwargs)&quot; あとは煮るなり焼くなり # -l で…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fatasatamatara.hatenablog.jp%2Fentry%2F2013%2F04%2F22%2F200329&quot; title=&quot;grep/ack/ag でのエスケープがわからないなら直接文字列リテラル渡せばいいじゃない - 憧れ駆動開発&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>2013-04-22 20:03:29</published>
  <title>grep/ack/ag でのエスケープがわからないなら直接文字列リテラル渡せばいいじゃない</title>
  <type>rich</type>
  <url>https://atasatamatara.hatenablog.jp/entry/2013/04/22/200329</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
