This repo is a reincarnation of obsidian-local-images plugin which main aim was downloading images in md notes to local storage.
242
stars
19
forks
source link
bug: Picture link cannot be matched in regular regularity #77
Open
antnesswcm opened 3 months ago
========================================= local-images-plus replaceAsync: str: ![|500
local-images-plus cur regex: /![(?(.{0}|(?!^file\:\/)+?))]((?((file\:\/)[^!]+?(.{1}.{3,4}) {0,1}|)$|)\n|)])))/gm
local-images-plus cur regex: /![(?(.{0}|[^[]+?))]((?((http(s){0,1}).+?() |..{3,4})|)$|)\n|)]|)[)))/gm
local-images-plus cur regex: /![[^[](?(.{0}|[^[]+?))]((?((data\:.+?base64\,).+?() |..{3,4})|)$|)\n|)]|)[)))/gm
local-images-plus cur regex: /![(?(.{0}|[^[]+?))]((?((http(s){0,1}|(data\:.+?base64\,)).+?)))/gm
local-images-plus Promises:
=========================================
I hope it can be repaired