1
0
mirror of https://github.com/golang/go synced 2024-11-14 15:30:54 -07:00
go/src/regexp
Seth Hoenig 226aaf4267 regexp: add runnable example to regex.Split
The existing comment for regex.Split contains a plain text example,
while many of the other regex functions have runnable examples. This
change provides a runnable example for Split.

Change-Id: I5373f57f532fe843d7d0adcf4b513061ec797047
Reviewed-on: https://go-review.googlesource.com/14737
Reviewed-by: Andrew Gerrand <adg@golang.org>
Run-TryBot: Andrew Gerrand <adg@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2015-09-23 03:29:32 +00:00
..
syntax
testdata
all_test.go
backtrack.go
example_test.go regexp: add runnable example to regex.Split 2015-09-23 03:29:32 +00:00
exec2_test.go
exec_test.go regexp: small correction to test comment 2015-06-14 17:09:13 +00:00
exec.go
find_test.go
onepass_test.go
onepass.go
regexp.go regexp: suggest go doc, not godoc 2015-06-01 20:16:31 +00:00