<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>Go</anon>
  </categories>
  <description>golang regexp どちらかといえば括弧書きのほう package main import &quot;fmt&quot; import &quot;regexp&quot; func main() { str := &quot;123456&quot; rep := regexp.MustCompile(`1(.)3(.)5(.)`) str = rep.ReplaceAllString(str, &quot;1($1)3($2)5($3)&quot;) fmt.Println(str) // =&gt; &quot;1(2)3(4)5(6)&quot; } http://ashitani.jp/golangtips/tips_regexp.html</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F2017%2F10%2F14%2Fgolang_regexp&quot; title=&quot;golang regexp - by shigemk2&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>2017-10-14 12:27:38</published>
  <title>golang regexp</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/2017/10/14/golang_regexp</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
