<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ku__ra__ge</author_name>
  <author_url>https://blog.hatena.ne.jp/ku__ra__ge/</author_url>
  <blog_title>くらげのChangeLog</blog_title>
  <blog_url>https://culage.hatenablog.com/</blog_url>
  <categories>
    <anon>program</anon>
  </categories>
  <description>PS &gt; $text = &quot;hoge = 1; hoge = 2; hoge = 3;&quot;; PS &gt; $text | %{ [RegEx]::Replace($_, &quot; = (\d+)&quot;, { &quot; = $([Convert]::ToDecimal($args.groups[1].value) + 1)&quot; }) } hoge = 2; hoge = 3; hoge = 4; PowerShellを使うと、「 = (数値)」→「 = (数値+1)」のような置換を行うことができる。 PowerShellというか.net frameworkのクラスライブラリの機能なので、複雑な処理をした結果に置換する…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fculage.hatenablog.com%2Fentry%2F2020%2F10%2F16%2F000000_3&quot; title=&quot;PowerShellでプログラマブルな置換 - くらげのChangeLog&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>2020-10-16 00:00:00</published>
  <title>PowerShellでプログラマブルな置換</title>
  <type>rich</type>
  <url>https://culage.hatenablog.com/entry/2020/10/16/000000_3</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
