Comment

Calvin Spealman

Well, yes, the extension is in the list but I was making my suggestion because then you can be differentiate from when the extension is in the list or the same token happens to appear in the filename. Maybe it wouldn't come up horribly often, but it seems like it would be a useful and simple addition.

Parent comment

Peter Bengtsson

But I am splitting by space so that the extension is always in the list.