Add one more word

This commit is contained in:
Mark McGranaghan 2020-04-10 17:58:40 -07:00
parent 88676f43b2
commit 6fcca63e42

View File

@ -67,7 +67,7 @@ func main() {
// When creating global variables with regular // When creating global variables with regular
// expressions you can use the `MustCompile` variation // expressions you can use the `MustCompile` variation
// of `Compile`. `MustCompile` panics instead of // of `Compile`. `MustCompile` panics instead of
// returning error, which makes it safer to use for // returning an error, which makes it safer to use for
// global variables. // global variables.
r = regexp.MustCompile("p([a-z]+)ch") r = regexp.MustCompile("p([a-z]+)ch")
fmt.Println(r) fmt.Println(r)