{"categories":["Python","\u6b63\u898f\u8868\u73fe"],"image_url":null,"blog_title":"\u307f\u30fc\u306e\u307a\u30fc\u3058","published":"2019-10-07 21:08:42","author_url":"https://blog.hatena.ne.jp/atsuhiro-me/","url":"https://pc.atsuhiro-me.net/entry/2019/10/07/210842","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpc.atsuhiro-me.net%2Fentry%2F2019%2F10%2F07%2F210842\" title=\"\u30cd\u30b9\u30c8\u3055\u308c\u305f\u62ec\u5f27\u3068\u6b63\u898f\u8868\u73fe - \u307f\u30fc\u306e\u307a\u30fc\u3058\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://pc.atsuhiro-me.net/","description":"\u30cd\u30b9\u30c8\u3055\u308c\u305f\u62ec\u5f27\u3092\u6271\u304a\u3046\u3068\u6b63\u898f\u8868\u73fe\u3092\u8abf\u3079\u307e\u3057\u305f\u304c\uff0cPython\u306e\u6a19\u6e96\u306ere\u306b\u306f\uff0c(?R)\u306a\u3069\u518d\u5e30\u304c\u6271\u3048\u306a\u3044\u3053\u3068\u304c\u5206\u304b\u308a\uff0c\u4ee3\u308f\u308a\u306bregex\u3092\u4f7f\u3048\u3070\u3088\u3055\u305d\u3046*1\u3068\u3044\u3046\u3053\u3068\u306f\u5206\u304b\u308a\u307e\u3057\u305f\u304c\uff0c\u308f\u3056\u308f\u3056\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u308f\u306a\u304f\u3066\u3082\u3088\u3044\u306e\u3067\u306f\u3068\u601d\u3044\uff0c\u30b7\u30f3\u30d7\u30eb\u306b\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\uff0e \u4f8b\u3048\u3070\uff0c\u4e00\u756a\u5916\u5074\u306e\u62ec\u5f27\u3060\u3051\u3092\u5916\u3059\u95a2\u6570\u3092\u5b9f\u88c5\u3057\u307e\u3057\u305f\uff0e def get_bracket_content(self, n): depth = 0 f = 0 for i, c in enumerate(n): if c == \"(\": depth += 1 if depth == 1: f = i+1 elif c == \")\": dept\u2026","version":"1.0","provider_name":"Hatena Blog","title":"\u30cd\u30b9\u30c8\u3055\u308c\u305f\u62ec\u5f27\u3068\u6b63\u898f\u8868\u73fe","provider_url":"https://hatena.blog","height":"190","width":"100%","type":"rich","author_name":"atsuhiro-me"}