Re: [go-nuts] fmt.Sscanf strange behaviour

2022-01-26 Thread Brian Candler
On Wednesday, 26 January 2022 at 04:51:04 UTC rol...@gmail.com wrote: > The tool you are looking for is most probably the regex module: > > https://pkg.go.dev/regexp > "Then you have two problems" :-) But it could be reasonable here if the format is fixed. If this is a true multi-valued colum

Re: [go-nuts] fmt.Sscanf strange behaviour

2022-01-25 Thread Roland Müller
The tool you are looking for is most probably the regex module: https://pkg.go.dev/regexp BR Roland Am Mittwoch, 26. Januar 2022 schrieb Victor Giordano : > Thanks for the insight again. It is appreciated. > Till next time. > V > El mar, 25 ene 2022 a las 18:05, Ian Lance Taylor () escribió: >>

Re: [go-nuts] fmt.Sscanf strange behaviour

2022-01-25 Thread Victor Giordano
Thanks for the insight again. It is appreciated. Till next time. V El mar, 25 ene 2022 a las 18:05, Ian Lance Taylor () escribió: > On Tue, Jan 25, 2022 at 12:45 PM Victor Giordano > wrote: > > > > Thanks Ian, I will take your advice and use another approach, I regret > this cuz it would be nic

Re: [go-nuts] fmt.Sscanf strange behaviour

2022-01-25 Thread Ian Lance Taylor
On Tue, Jan 25, 2022 at 12:45 PM Victor Giordano wrote: > > Thanks Ian, I will take your advice and use another approach, I regret this > cuz it would be nice to have something already working. > > Without any intent to offense or say something hard, as a client of the > library it kind looks qu

Re: [go-nuts] fmt.Sscanf strange behaviour

2022-01-25 Thread Victor Giordano
Thanks Ian, I will take your advice and use another approach, I regret this cuz it would be nice to have something already working. Without any intent to offense or say something hard, as a client of the library it kind looks quite buggy, the parenthesis are still an issue

Re: [go-nuts] fmt.Sscanf strange behaviour

2022-01-25 Thread Ian Lance Taylor
On Tue, Jan 25, 2022 at 11:35 AM Victor Giordano wrote: > > Hi all! I'm dealing with some multi valued column in postgres, and i have > stomp into a bizzare behavoir in `fmt.Sscanf` > > Please take a look at the following snippet, i also leave my question within > the code and this link to the p

[go-nuts] fmt.Sscanf strange behaviour

2022-01-25 Thread Victor Giordano
Hi all! I'm dealing with some multi valued column in postgres, and i have stomp into a bizzare behavoir in `fmt.Sscanf` Please take a look at the following snippet, i also leave my question within the code and this link to the playground so you can actually t