[
https://issues.apache.org/jira/browse/ASTERIXDB-2680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16988304#comment-16988304
]
ASF subversion and git services commented on ASTERIXDB-2680:
------------------------------------------------------------
Commit db0e80ee91adab00bdcb2a34aa649e1ebfb41a9d in asterixdb's branch
refs/heads/master from Hussain Towaileb
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=db0e80e ]
[ASTERIXDB-2680][FUN] Add support to regexp_matches() and regexp_split()
- user model changes: yes
- storage format changes: no
- interface changes: no
Details:
- Added support to regexp_matches().
- Added support to regexp_split().
- Added test cases for regexp_matches().
- Added test cases for regexp_split().
- Changed behavior of UTF8CharSequence when
subSequence is called with start = end, originally
it returns a null char[] array which causes an NPE,
now it returns an empty char[].
Change-Id: Iccf5ba14f5c8b8cf4bcd6dd6e412bb515d68dd74
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/4243
Contrib: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Reviewed-by: Hussain Towaileb <[email protected]>
Reviewed-by: Dmitry Lychagin <[email protected]>
> Add support to REGEXP_MATCHES and REGEXP_SPLIT functions
> --------------------------------------------------------
>
> Key: ASTERIXDB-2680
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2680
> Project: Apache AsterixDB
> Issue Type: Improvement
> Components: FUN - Functions
> Affects Versions: 0.9.4.1
> Reporter: Hussain Towaileb
> Assignee: Hussain Towaileb
> Priority: Major
> Fix For: 0.9.5
>
>
> Add support for REGEXP_MATCHES and REGEXP_SPLIT functions.
> REGEXP_MATCHES takes 2 strings, a text and a pattern, and returns an array of
> all the matches matching the pattern that occur in the text.
>
> REGEXP_SPLIT takes 2 strings, a text and a pattern, finds the matches of the
> pattern and returns an array of string tokens between those matches.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)