How to write zsh/python filename expansion with backreferences? -


i have files following structure

env1.current/bin/env1/filename env2.current/bin/env2/filename env3.current/bin/env3/filename env4.current/bin/env3/filename 

how list above files? similar below?

ls (.*).current/bin/\1/filename  #doesn't work! 

is possible in list in python? glob module doesn't support backreferencing.


Comments

Popular posts from this blog

Line ending issue with Mercurial or Visual Studio -

python - Received unregistered task using Celery with Django -

c# - Delving into the world of XML (Windows Phone) Error I dont understand (The ' ' character, hexadecimal value 0x20, cannot be included in a name.) -