content/flux/v0/stdlib/regexp/compile.md
regexp.compile() parses a string into a regular expression and returns a regexp type
that can be used to match against strings.
(v: string) => regexp
{{% caption %}} For more information, see Function type signatures. {{% /caption %}}
({{< req >}}) String value to parse into a regular expression.
import "regexp"
regexp.compile(v: "abcd")// Returns the regexp object /abcd/