braceexpand
braceexpand copied to clipboard
Bash-style brace expansion for Python
Results
2
braceexpand issues
Sort by
recently updated
recently updated
newest added
The iterator returns entries with excluded directory separators. For example, instead of /path/to/some/dir, it returns pathtosomedir.
Since brace expansion usually happens before other expansions (i.e. glob), the current behaviour of handling all the escaped characters breaks later stages. For instance: >>> braceexpand(r'{foo,bar}-\?') ['foo-?', 'bar-?'] # lost...