From ab0f1888bf3601ff713335ac31e6e833297c9fb6 Mon Sep 17 00:00:00 2001 From: zmstone Date: Tue, 16 Apr 2024 08:31:07 +0200 Subject: [PATCH] docs: refine client_attrs doc --- rel/i18n/emqx_schema.hocon | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rel/i18n/emqx_schema.hocon b/rel/i18n/emqx_schema.hocon index 0868bf93c..cb504694c 100644 --- a/rel/i18n/emqx_schema.hocon +++ b/rel/i18n/emqx_schema.hocon @@ -1587,9 +1587,9 @@ client_attrs_init_expression { label: "Client Attribute Extraction Regular Expression" desc: """~ A one line expression to evaluate a set of predefined string functions (like in the rule engine SQL statements). - The expression accepts direct variable reference, or one function call with nested calls for its arguments, - but it does not provide variable binding or user-defined functions and pre-bound variables. - For example, to extract the prefix of client ID delimited by a dot: `nth(1, tokens(clientid, '.'))`. + The expression can be a function call with nested calls as its arguments, or direct variable reference. + So far, it does not provide user-defined variable binding (like `var a=1`) or user-defined functions. + As an example, to extract the prefix of client ID delimited by a dot: `nth(1, tokens(clientid, '.'))`. The variables pre-bound variables are: - `cn`: Client's TLS certificate common name.