diff --git a/datafusion/functions/src/regex/regexpmatch.rs b/datafusion/functions/src/regex/regexpmatch.rs index 4a86adbe683a..a458b205f4e3 100644 --- a/datafusion/functions/src/regex/regexpmatch.rs +++ b/datafusion/functions/src/regex/regexpmatch.rs @@ -119,7 +119,7 @@ fn get_regexp_match_doc() -> &'static Documentation { DOCUMENTATION.get_or_init(|| { Documentation::builder() .with_doc_section(DOC_SECTION_REGEX) - .with_description("Returns the first [regular expression](https://docs.rs/regex/latest/regex/#syntax) matche in a string.") + .with_description("Returns the first [regular expression](https://docs.rs/regex/latest/regex/#syntax) matches in a string.") .with_syntax_example("regexp_match(str, regexp[, flags])") .with_sql_example(r#"```sql > select regexp_match('Köln', '[a-zA-Z]ö[a-zA-Z]{2}'); diff --git a/docs/source/user-guide/sql/scalar_functions_new.md b/docs/source/user-guide/sql/scalar_functions_new.md index 1915623012f4..ac6e56a44c10 100644 --- a/docs/source/user-guide/sql/scalar_functions_new.md +++ b/docs/source/user-guide/sql/scalar_functions_new.md @@ -1752,7 +1752,7 @@ Additional examples can be found [here](https://github.com/apache/datafusion/blo ### `regexp_match` -Returns the first [regular expression](https://docs.rs/regex/latest/regex/#syntax) matche in a string. +Returns the first [regular expression](https://docs.rs/regex/latest/regex/#syntax) matches in a string. ``` regexp_match(str, regexp[, flags])