ozntel / oz-clear-unused-images-obsidian

Obsidian plugin to clear the images that are not used in note files anymore
194 stars 16 forks source link

Failed to load plugin in iPhone #28

Open kodango opened 1 year ago

kodango commented 1 year ago

is it the plugin desktop only?

kodango commented 1 year ago

There is no other error information, when open app on iPhone it throws "Failed to load plugin oz-clear-unused-images".

I have installed a debug plugin, and it write the error to debug log: [error] Plugin failure: oz-clear-unused-images SyntaxError: Invalid regular expression: invalid group specifier name

Maybe iOS does not support the regular expression below: https://github.com/ozntel/oz-clear-unused-images-obsidian/blob/79db96b85720dd7ef5652a2bbe6b3d28cbe3cda0/src/linkDetector.ts#L31