by shigemk2

当面は技術的なことしか書かない

2017-10-14から1日間の記事一覧

bouncycastle

Here at the Bouncy Castle, we believe in encryption. That's something that's near and dear to our hearts. 暗号化API bouncycastle.org

はてなブログのサイドバー プロフィール

こうじゃろ? そしてこうじゃ。 staff.hatenablog.com

golang regexp

Go

golang regexp どちらかといえば括弧書きのほう package main import "fmt" import "regexp" func main() { str := "123456" rep := regexp.MustCompile(`1(.)3(.)5(.)`) str = rep.ReplaceAllString(str, "1($1)3($2)5($3)") fmt.Println(str) // => "1(2)3…