regex: rephrase doc string (#14159)
parent
2d381d69ea
commit
1cc8072efa
|
@ -14,7 +14,8 @@ import strings
|
||||||
* Inits
|
* 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) {
|
pub fn regex_base(pattern string) (RE, int, int) {
|
||||||
// init regex
|
// init regex
|
||||||
mut re := RE{}
|
mut re := RE{}
|
||||||
|
|
Loading…
Reference in New Issue