import { DYN_CASEKEY_REGEX } from "https://deno.land/x/localekit@2.2.0/util/dynamic/parts.ts";
Regular expression pattern used to match dynamic case keys in a specific format. The pattern captures the case key, parameters and the corresponding content.
The pattern matches the following format:
- The case key: a combination of alphanumeric characters, hyphens, and certain keywords.
- The parameters: a list of parameters enclosed in parentheses.
- The content: enclosed in one of the following: backticks (`), quotes ("), single quotes ('), or pipes (|), or between curly braces ({}) or square brackets ([]).
Length Functions | Regular Functions |
---|---|
LEN_GT | GT |
LEN_GTE | GTE |
LEN_NGT | NGT |
LEN_NGTE | NGTE |
LEN_LT | LT |
LEN_LTE | LTE |
LEN_NLT | NLT |
LEN_NLTE | NLTE |
LEN_EQ | EQ |
LEN_NEQ | NEQ |
LEN_BT | BT |
LEN_NBT | NBT |
LEN_IN | IN |
LEN_NIN | NIN |
LEN_OR | OR |
LEN_XOR | XOR |
LEN_AND | AND |
LEN_CUSTOM | CUSTOM |