I'm trying to find a UNIX pattern which will match only numerical file extensions. For example, it will matchfile.1file.2file1.15file2.52file.25938etc. but will NOT matchfile1.0.extfile4.csv6file5.5.2.extfile.1sfile.s134I thought this would be easy but I can't seem to get it - I have tried *.[0-9]* which matches file1.0.csv*.[0.9]*/> which matches nothing Any experts out there know what I'm missing? I thought /> matched at the end of a word. edit - clarification: I'm coding in python using a module that uses unix shell-style wildcards, so I only have access to said wildcards
Matching only numerical file extensions
shell;wildcards