lukecwik commented on a change in pull request #11016: Reduce warnings in
pytest runs.
URL: https://github.com/apache/beam/pull/11016#discussion_r389126349
##########
File path: sdks/python/apache_beam/io/filesystem.py
##########
@@ -694,7 +694,7 @@ def translate_pattern(pattern):
res = res + re.escape(c)
logger.debug('translate_pattern: %r -> %r', pattern, res)
- return res + r'\Z(?ms)'
+ return r'(?ms)' + res + r'\Z'
Review comment:
Had to read up on this.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services