diff --git a/client/components/readers/ComicReader.vue b/client/components/readers/ComicReader.vue index f1d9a82f..40b28a74 100644 --- a/client/components/readers/ComicReader.vue +++ b/client/components/readers/ComicReader.vue @@ -303,8 +303,8 @@ export default { }, parseImageFilename(filename) { var basename = Path.basename(filename, Path.extname(filename)) - var numbersinpath = basename.match(/\d{1,5}/g) - if (!numbersinpath || !numbersinpath.length) { + var numbersinpath = basename.match(/\d+/g) + if (!numbersinpath?.length) { return { index: -1, filename