How do I create a maximal glob from a list of strings?
Input:
['onething.txt', 'anotherthing.txt']
Output:
*o*thing.txt
or
*thing.txt
Whichever is more correct.
How do I create a maximal glob from a list of strings?
Input:
['onething.txt', 'anotherthing.txt']
Output:
*o*thing.txt
or
*thing.txt
Whichever is more correct.