Re: [go-nuts] strings: escape sequence translation

2021-09-07 Thread 'nadashin' via golang-nuts
On Tuesday, September 7th, 2021 at 20:05, Jan Mercl <0xj...@gmail.com> wrote: > On Tue, Sep 7, 2021 at 4:40 AM 'nadashin' via golang-nuts > > golang-nuts@googlegroups.com wrote: > > > Why is the function in Go compiler that interprets escape sequences not > > available in Go's standard library? >

Re: [go-nuts] strings: escape sequence translation

2021-09-07 Thread Jan Mercl
On Tue, Sep 7, 2021 at 4:40 AM 'nadashin' via golang-nuts wrote: > Why is the function in Go compiler that interprets escape sequences not > available in Go's standard library? FTR: This seems to be an unfortunate way of continuing the thread at https://groups.google.com/g/golang-nuts/c/kBj-yEJu

Re: [go-nuts] strings: escape sequence translation

2021-09-07 Thread Jan Mercl
On Tue, Sep 7, 2021 at 2:29 PM 'nadashin' via golang-nuts wrote: > > It does. See https://pkg.go.dev/strconv#Unquote. Try this hastily thrown > > together example: > > > > package main > > > > import ( > > "fmt" > > "strconv" > > ) > > > > func main() { > > e := strconv.Quote("

Re: [go-nuts] strings: escape sequence translation

2021-09-07 Thread 'nadashin' via golang-nuts
On Tuesday, September 7th, 2021 at 08:55, Kurtis Rader wrote: > It does. See https://pkg.go.dev/strconv#Unquote. Try this hastily thrown > together example: > > package main > > import ( > "fmt" > "strconv" > ) > > func main() { > e := strconv.Quote("a\033\r\nb") > v, er

Re: [go-nuts] strings: escape sequence translation

2021-09-06 Thread Kurtis Rader
On Mon, Sep 6, 2021 at 7:40 PM 'nadashin' via golang-nuts < golang-nuts@googlegroups.com> wrote: > Why is the function in Go compiler that interprets escape sequences not > available in Go's standard library? > It does. See https://pkg.go.dev/strconv#Unquote. Try this hastily thrown together exam

[go-nuts] strings: escape sequence translation

2021-09-06 Thread 'nadashin' via golang-nuts
Why is the function in Go compiler that interprets escape sequences not available in Go's standard library? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang