소스 검색

docs: fix typo

zmstone 1 년 전
부모
커밋
7f73f27d56
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apps/emqx_utils/src/emqx_variform_bif.erl

+ 1 - 1
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,