Github user viirya commented on a diff in the pull request:

    https://github.com/apache/spark/pull/15398#discussion_r111704017
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/regexpExpressions.scala
 ---
    @@ -68,7 +68,30 @@ trait StringRegexExpression extends 
ImplicitCastInputTypes {
      * Simple RegEx pattern matching function
      */
     @ExpressionDescription(
    -  usage = "str _FUNC_ pattern - Returns true if `str` matches `pattern`, 
or false otherwise.")
    +  usage = "str _FUNC_ pattern - Returns true if str matches pattern, " +
    +    "null if any arguments are null, false otherwise.",
    +  extended = """
    +    Arguments:
    +      str - a string expression
    +      pattern - a string expression. The pattern is a string which is 
matched literally, with
    +        exception to the following special symbols:
    +
    +          _ matches any one character in the input (similar to . in posix 
regular expressions)
    +
    +          % matches zero ore more characters in the input (similar to .* 
in posix regular
    --- End diff --
    
    ore -> or?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to