From f7b85ef3330418aec361ae58dca26898db7eb9d4 Mon Sep 17 00:00:00 2001 From: Mark McDonnell Date: Mon, 20 Sep 2021 16:37:15 +0100 Subject: [PATCH] update description --- fastly/client.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/fastly/client.go b/fastly/client.go index 8ac5a9ea8..1e9ebbe2b 100644 --- a/fastly/client.go +++ b/fastly/client.go @@ -54,8 +54,14 @@ var UserAgent = fmt.Sprintf("FastlyGo/%s (+%s; %s)", ProjectVersion, ProjectURL, runtime.Version()) // formEncodingArrayPattern is used to match the encoded multi-valued field -// format of | where T is an incrementing index such as: -// services|0=A&services|1=B +// format of | where T is an incrementing index +// +// Example: +// foo|0=A&foo|1=B +// +// NOTE: +// I'm only checking double digits and nothing larger as I don't expect anyone +// to provide over 99 separate values. var formEncodingArrayPattern = regexp.MustCompile(`%7C\d{1,2}`) // Client is the main entrypoint to the Fastly golang API library.