Fixed typo

implementPCREMatchingRules
Aadhavan Srinivasan 2 months ago
parent 835d495990
commit 47f88c817f

@ -1157,7 +1157,7 @@ func Compile(re string, flags ...ReFlag) (Reg, error) {
return reg, nil 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 { func MustCompile(re string, flags ...ReFlag) Reg {
reg, err := Compile(re, flags...) reg, err := Compile(re, flags...)
if err != nil { if err != nil {

Loading…
Cancel
Save