[ https://issues.apache.org/jira/browse/BEAM-7018?focusedWorklogId=277093&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-277093 ]
ASF GitHub Bot logged work on BEAM-7018: ---------------------------------------- Author: ASF GitHub Bot Created on: 16/Jul/19 00:56 Start Date: 16/Jul/19 00:56 Worklog Time Spent: 10m Work Description: aaltay commented on pull request #8859: [BEAM-7018] Added Regex transform for PythonSDK URL: https://github.com/apache/beam/pull/8859#discussion_r303692315 ########## File path: sdks/python/apache_beam/transforms/util.py ########## @@ -864,3 +867,225 @@ def add_window_info(element, timestamp=DoFn.TimestampParam, def expand(self, pcoll): return pcoll | ParDo(self.add_window_info) + + +@ptransform_fn +def matches_all_object(pcoll, regex, group=None): Review comment: Do we expect these to be public interfaces? If not, can we prefix them with `_` and move them under Regex. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 277093) Time Spent: 3h (was: 2h 50m) > Regex transform for Python SDK > ------------------------------ > > Key: BEAM-7018 > URL: https://issues.apache.org/jira/browse/BEAM-7018 > Project: Beam > Issue Type: New Feature > Components: sdk-py-core > Reporter: Rose Nguyen > Assignee: Shehzaad Nakhoda > Priority: Minor > Time Spent: 3h > Remaining Estimate: 0h > > PTransorms to use Regular Expressions to process elements in a PCollection > It should offer the same API as its Java counterpart: > [https://github.com/apache/beam/blob/11a977b8b26eff2274d706541127c19dc93131a2/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Regex.java] -- This message was sent by Atlassian JIRA (v7.6.14#76016)