> - Convert `*` in patterns to `[!/\]` (see fnmatch docs, I belive this should 
> support both Unix and Windows paths)

It seems that `[!/\]` only matches a single character in fnmatch:
```pycon
>>> import fnmatch
>>> fnmatch.translate(r'[!\/]')
'[^\\\\/]\\Z(?ms)'
```
so having * matching anything except `/` and `\` would require abandoning 
fnmatch it seems.


[ Full content available at: https://github.com/apache/beam/pull/6423 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to