To match image names which have white space and dot inside

#1
by DanielCL - opened

I realised that sometimes I would mistakenly put a dot or a space into image names previously, and I found that by changing [^.] to [^*] would help solve the problem.

/!\[\[([^*]+)\.\w+(\|\d+)?\]\]/gm

Do you want to try making a pull request here with that change? PRs are turned on here. There's a Pull Request button on the Files and versions tab.

Sorry actually it's on the Community tab.

yes, I found it, Thanks. I will try to make the changes later. In fact, I just finished testing adding the hide button.

yes, I found it, Thanks. I will try to make the changes later. In fact, I just finished testing adding the hide button.

DanielCL changed discussion status to closed

yes, I found it, Thanks. I will try to make the changes later. In fact, I just finished testing adding the hide button.

Sign up or log in to comment