You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by GitBox <gi...@apache.org> on 2020/03/06 20:25:06 UTC

[GitHub] [beam] lukecwik commented on a change in pull request #11016: Reduce warnings in pytest runs.

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:
users@infra.apache.org


With regards,
Apache Git Services