mirror of https://github.com/golang/go.git
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> |
||
|---|---|---|
| .. | ||
| syntax | ||
| testdata | ||
| all_test.go | ||
| backtrack.go | ||
| example_test.go | ||
| exec.go | ||
| exec2_test.go | ||
| exec_test.go | ||
| find_test.go | ||
| onepass.go | ||
| onepass_test.go | ||
| regexp.go | ||