From 47f88c817f562729093b2cd62494b457e3c55061 Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Sun, 9 Feb 2025 15:14:17 -0500 Subject: [PATCH] Fixed typo --- regex/compile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regex/compile.go b/regex/compile.go index 8dbcf37..9a703b9 100644 --- a/regex/compile.go +++ b/regex/compile.go @@ -1157,7 +1157,7 @@ func Compile(re string, flags ...ReFlag) (Reg, error) { return reg, nil } -// MustCompile panicks if Compile returns an error. They are identical in all other respects. +// MustCompile panics if Compile returns an error. They are identical in all other respects. func MustCompile(re string, flags ...ReFlag) Reg { reg, err := Compile(re, flags...) if err != nil {