[ https://issues.apache.org/jira/browse/PIG-5214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15960357#comment-15960357 ]
Daniel Dai commented on PIG-5214: --------------------------------- Thanks for the patch. Left some comments on review board. > search any substring in the input string > ---------------------------------------- > > Key: PIG-5214 > URL: https://issues.apache.org/jira/browse/PIG-5214 > Project: Pig > Issue Type: New Feature > Components: internal-udfs > Reporter: Yuxiang Wang > Assignee: Yuxiang Wang > Fix For: 0.17.0 > > Attachments: PIG-5214-1.patch > > > A new Pig UDF *STRING_SEARCH_ALL* that Implementing regex for searching > keyword(substring) in a line of string, and all matched substrings will be > stored as individual tuples in a bag, i.e.{code} output: ({(a),(b),(c)}){code} > Help us to find all regex matches, for example, we may use > *FLATTEN(STRING_SEARCH_ALL(string, regex))* to list all matches for an easier > view of output. -- This message was sent by Atlassian JIRA (v6.3.15#6346)