[ 
https://issues.apache.org/jira/browse/SPARK-27987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Takeshi Yamamuro updated SPARK-27987:
-------------------------------------
    Parent Issue: SPARK-30375  (was: SPARK-27764)

> Support POSIX Regular Expressions
> ---------------------------------
>
>                 Key: SPARK-27987
>                 URL: https://issues.apache.org/jira/browse/SPARK-27987
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Yuming Wang
>            Priority: Major
>
> POSIX regular expressions provide a more powerful means for pattern matching 
> than the LIKE and SIMILAR TO operators. Many Unix tools such as egrep, sed, 
> or awk use a pattern matching language that is similar to the one described 
> here.
> ||Operator||Description||Example||
> |{{~}}|Matches regular expression, case sensitive|{{'thomas' ~ '.*thomas.*'}}|
> |{{~*}}|Matches regular expression, case insensitive|{{'thomas' ~* 
> '.*Thomas.*'}}|
> |{{!~}}|Does not match regular expression, case sensitive|{{'thomas' !~ 
> '.*Thomas.*'}}|
> |{{!~*}}|Does not match regular expression, case insensitive|{{'thomas' !~* 
> '.*vadim.*'}}|
> https://www.postgresql.org/docs/current/functions-matching.html#FUNCTIONS-POSIX-REGEXP



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to