From 1cc8072efac5c8d115ea1fc1dd2c17a24db00cc2 Mon Sep 17 00:00:00 2001 From: Larpon Date: Mon, 25 Apr 2022 15:03:13 +0200 Subject: [PATCH] regex: rephrase doc string (#14159) --- vlib/regex/regex_util.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vlib/regex/regex_util.v b/vlib/regex/regex_util.v index 7e69ed72b4..8bece48f56 100644 --- a/vlib/regex/regex_util.v +++ b/vlib/regex/regex_util.v @@ -14,7 +14,8 @@ import strings * Inits * ******************************************************************************/ -// regex create a regex object from the query string, retunr RE object and errors as re_err, err_pos +// regex_base returns a regex object (`RE`) generated from `pattern` string and +// detailed information in re_err, err_pos, if an error occurred. pub fn regex_base(pattern string) (RE, int, int) { // init regex mut re := RE{}