From 776f14ff2be211c80db0194bfbf825f20921c973 Mon Sep 17 00:00:00 2001 From: Matheus Dalmolin <33668259+mtsdalmolin@users.noreply.github.com> Date: Wed, 31 Mar 2021 15:26:46 -0300 Subject: [PATCH] docs: update select format paragraph (#2782) add Unicode `Pattern_Syntax` reference url in select format paragraph --- website/docs/core-concepts/icu-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/core-concepts/icu-syntax.md b/website/docs/core-concepts/icu-syntax.md index eb19a8798e..16310cdb68 100644 --- a/website/docs/core-concepts/icu-syntax.md +++ b/website/docs/core-concepts/icu-syntax.md @@ -115,7 +115,7 @@ Similar to `number` type, we also support ICU DateTime skeleton. ICU provides a ### `{select}` Format -The `{key, select, matches}` is used to choose output by matching a value to one of many choices. (It is similar to the `switch` statement available in some programming languages.) The key is looked up in the input data. The corresponding value is matched to one of matches and the corresponding output is returned. The `matches` is a space-separated list of `matches`. +The `{key, select, matches}` is used to choose output by matching a value to one of many choices. (It is similar to the `switch` statement available in some programming languages.) The key is looked up in the input data. The corresponding value is matched to one of matches and the corresponding output is returned. The `key` argument must follow [Unicode Pattern_Syntax](https://www.unicode.org/reports/tr31/tr31-9.html#Pattern_Syntax). The `matches` is a space-separated list of `matches`. The format of a match is match `{output}`. (A match is similar to the case statement of the switch found in some programming languages.) The `match` is a literal value. If it is the same as the value for `key` then the corresponding `output` will be used.