View Single Post
Old 10-04-2024, 08:01 AM   #7
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,918
Karma: 6240958
Join Date: Nov 2009
Device: many
So not sure if this is a bug or not as there were no valid file extensions to begin with, which the current regex renamer code expects. We might have to modify the renamer code to compare the extracted file extension to a list of known valid file extensions, and then handle the case of invalid file extensions in some other way.

That might work. But doing the rename in 2 passes (as described above) should do the trick.

Last edited by KevinH; 10-04-2024 at 08:13 AM.
KevinH is offline   Reply With Quote