From 39d01f46eccf108e00c4f04127cc2d27796cb42d Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Tue, 8 Mar 2022 12:57:09 +0100 Subject: [PATCH] docs: move string operator case sensitivity note to table --- website/docs/advanced/strategy-constraints.md | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/website/docs/advanced/strategy-constraints.md b/website/docs/advanced/strategy-constraints.md index a39e3a48b8..ba20969cc8 100644 --- a/website/docs/advanced/strategy-constraints.md +++ b/website/docs/advanced/strategy-constraints.md @@ -117,21 +117,17 @@ Date and time operators only support single values. ### String operators -:::note Legacy note -For backwards compatibility reasons, `IN` and `NOT_IN` are always case-sensitive. -::: - String operators differ from the other categories in two different ways: - all operators accept multiple values - most operators also consider [letter case](https://en.wikipedia.org/wiki/Letter_case "letter case on Wikipedia") and can be set to be case-sensitive or case-insensitive -| Name | `true` if `` ... | Available since | -|-------------------|------------------------------------------------|-----------------| -| `IN` | is **equal** to any of the provided values | v3.3 | -| `NOT_IN` | is **not equal** to any of the provided values | v3.3 | -| `STR_CONTAINS` | **contains** any of the provided strings | v4.9 | -| `STR_ENDS_WITH` | **ends** with any of the provided strings | v4.9 | -| `STR_STARTS_WITH` | **starts** with any of the provided strings | v4.9 | +| Name | `true` if `` ... | Supports case-insensitivity | Available since | +|-------------------|------------------------------------------------|-----------------------------|-----------------| +| `IN` | is **equal** to any of the provided values | No | v3.3 | +| `NOT_IN` | is **not equal** to any of the provided values | No | v3.3 | +| `STR_CONTAINS` | **contains** any of the provided strings | Yes | v4.9 | +| `STR_ENDS_WITH` | **ends** with any of the provided strings | Yes | v4.9 | +| `STR_STARTS_WITH` | **starts** with any of the provided strings | Yes | v4.9 | ### Versioning (SemVer) operators