Current regex '[/\\\\]\d+[/\\\\]'
|
image_regex = re.compile('[/\\\\]\d+[/\\\\]') |
does not detect an image stored in a folder like that (created via a plugin that does date based folders)
On google I found '^[A-Z]:(\\[^\v\\]+)+\\?$|^/?([^\v/]+/)+' which works for windows and linux.
Current regex
'[/\\\\]\d+[/\\\\]'EasyDiffusionSearch/server.py
Line 20 in bf40a6e
does not detect an image stored in a folder like that (created via a plugin that does date based folders)
On google I found
'^[A-Z]:(\\[^\v\\]+)+\\?$|^/?([^\v/]+/)+'which works for windows and linux.