<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fumokmm</author_name>
  <author_url>https://blog.hatena.ne.jp/fumokmm/</author_url>
  <blog_title>No Programming, No Life</blog_title>
  <blog_url>https://npnl.hatenablog.jp/</blog_url>
  <categories>
    <anon>どう書く</anon>
    <anon>Groovy</anon>
  </categories>
  <description>お題: Server error 投稿: Server error 括弧の対応を保ったまま、文字列を反転させるというお題。(動作確認: Groovy Version: 1.5.7 JVM: 1.6.0_10) こんな感じになりました def reverseString2(String text) { def pairs = text.replaceAll(/[^\[\]\(\)\{\}]/, '') // 括弧整合チェック while (pairs) { if (pairs =~ /\[\]|\(\)|\{\}/) pairs = pairs.replaceAll(/\[\]|\(\)|\{\…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnpnl.hatenablog.jp%2Fentry%2F20090204%2F1233757904&quot; title=&quot;Re:文字列の反転(括弧の対応を保存) - No Programming, No Life&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>2009-02-04 23:31:44</published>
  <title>Re:文字列の反転(括弧の対応を保存)</title>
  <type>rich</type>
  <url>https://npnl.hatenablog.jp/entry/20090204/1233757904</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
