On Thursday, July 7, 2016 at 12:05:27 AM UTC+2, Justin Israel wrote:
>
> https://play.golang.org/p/fOFT2voh6l
>>
>
> That's pretty sweet.
>

Pretty sweet indeed, but it's worth saying that if the string is [field 
1][field 2][][field 4] the result is ["field 1", "field 2", "field4"], 
ignoring the empty [].
Also, "[field 1]]][field 2[field 4]][[" gives the same result. Maybe it's 
what's intended, maybe not.

-- 
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-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to