I'm using glob in Python 3.6 and trying to sequence match instead of using for loops:
glob("./*/*/*.(txt|json)")
glob("./*/(subdir1|subdir2)/*")
I was told this should work but it doesn't. Is this an issue with my syntax or is this functionality not supported?