Skip to content
Snippets Groups Projects
Commit 419eefd8 authored by Felix Cheung's avatar Felix Cheung Committed by Shivaram Venkataraman
Browse files

[SPARKR][DOC] regexp_extract should doc that it returns empty string when match fails

## What changes were proposed in this pull request?

Doc change - see https://issues.apache.org/jira/browse/SPARK-16324

## How was this patch tested?

manual check

Author: Felix Cheung <felixcheung_m@hotmail.com>

Closes #14934 from felixcheung/regexpextractdoc.
parent 812333e4
No related branches found
No related tags found
No related merge requests found
......@@ -2876,7 +2876,8 @@ setMethod("randn", signature(seed = "numeric"),
#' regexp_extract
#'
#' Extract a specific(idx) group identified by a java regex, from the specified string column.
#' Extract a specific \code{idx} group identified by a Java regex, from the specified string column.
#' If the regex did not match, or the specified group did not match, an empty string is returned.
#'
#' @param x a string Column.
#' @param pattern a regular expression.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment