docs: fix typo

This commit is contained in:
zmstone 2024-06-26 10:18:08 +02:00 committed by GitHub
parent 8a99995810
commit 7f73f27d56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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,