<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
    <anon>linux</anon>
    <anon>sed</anon>
  </categories>
  <description>sed で数値指定する 数字のマッチは、次のようになる。 sed '/[[:digit:]]/' sed '/[0-9]/' 正規表現に親しんでいると、つぎように \d を書きたくなるが、これは動かない。 sed '/\d/' # 動かない。 sed で複数桁の数字にマッチさせる。 動かない sed '/[[:digit:]]+/' 動く sed '/[[:digit:]]\+/' 元データ：サンプル nl とfor を使ってぱぱっとデータを作ります。 takuya@bookmarklets$ for e in aaa bbb ccc ; do echo $e; done | nl 1 aaa…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2019%2F05%2F15%2F180638&quot; title=&quot; sed で数字の繰り返しを正規表現で置換するには、文字指定が違う - それマグで！&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>2019-05-15 18:06:38</published>
  <title> sed で数字の繰り返しを正規表現で置換するには、文字指定が違う</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/2019/05/15/180638</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
