Hi,

I was using some Regexp and noted that all functions are documented to 
return 'nil' if the RE does not match.

I was using FindSubmatchString(s string) ad got an empty string array when 
the expression did not match a string.

Example: https://play.golang.org/p/_kSYXM5e_j

Is the documentation wrong in this case or am I just missing the case where 
nil is returned?

Regards
Jens


-- 
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