diff --git a/regex/doc.go b/regex/doc.go index ff471eb..e800726 100644 --- a/regex/doc.go +++ b/regex/doc.go @@ -86,7 +86,7 @@ Assertions: # Flags -Flags are used to change the behavior of the engine. None of them are enabled by default. They are passed as an [ReFlag] slice to [Compile]. -The list of flags, and their purpose, is provided in the type definition. +Flags are used to change the behavior of the engine. None of them are enabled by default. They are passed as variadic arguments to [Compile]. +The list of flags is provided in the type definition for [ReFlag]. */ package regex