Re: [go-nuts] Re: golang regex question

2017-06-02 Thread Sankar P
This is brilliant. I just never had the idea to split by words and accumulate them. Thanks. Please update the stackoverflow also with this answer if you have an account. Otherwise I will update it in stackoverflow tomorrow, crediting this mail thread as the source. 2017-06-02 21:39 GMT+05:30 : >

[go-nuts] Re: golang regex question

2017-06-02 Thread pierre . curto
Hello, Try something like this: https://play.golang.org/p/xSEX1CAcQE Le vendredi 2 juin 2017 16:26:24 UTC+2, Sankar a écrit : > > I have a go string > > dbConnStr1 := "user=someone password=something host=superduperhost > sslmode=something" > > the k=v pair in this string may be in any order, f