content/flux/v0/stdlib/regexp/quotemeta.md
regexp.quoteMeta() escapes all regular expression metacharacters in a string.
(v: string) => string
{{% caption %}} For more information, see Function type signatures. {{% /caption %}}
({{< req >}}) String that contains regular expression metacharacters to escape.
import "regexp"
regexp.quoteMeta(v: ".+*?()|[]{}^$")// Returns "\.\+\*\?\(\)\|\[\]\{\}\^\$"