From 7f73f27d56afa5b61e0c471b9368657d828ff54a Mon Sep 17 00:00:00 2001 From: zmstone Date: Wed, 26 Jun 2024 10:18:08 +0200 Subject: [PATCH] docs: fix typo --- apps/emqx_utils/src/emqx_variform_bif.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/emqx_utils/src/emqx_variform_bif.erl b/apps/emqx_utils/src/emqx_variform_bif.erl index 7c1038d44..f30db8f7a 100644 --- a/apps/emqx_utils/src/emqx_variform_bif.erl +++ b/apps/emqx_utils/src/emqx_variform_bif.erl @@ -199,7 +199,7 @@ regex_match(Str, RE) -> regex_replace(SrcStr, RE, RepStr) -> re:replace(SrcStr, RE, RepStr, [global, {return, binary}]). -%% @doc Non-global search for specified by regular expression patter in the given string. +%% @doc Non-global search for specified regular expression pattern in the given string. %% If matches are found, it returns a list of all captured groups from these matches. %% If no matches are found or there are no groups captured, it returns an empty list. %% This function can be used to extract parts of a string based on a regular expression,