esm7 / obsidian-map-view

Interactive map view for Obsidian.md
MIT License
546 stars 25 forks source link

Expand allowed filenames in queries #223

Closed quiyahui closed 4 months ago

quiyahui commented 4 months ago

Fixes:

I adjusted the regex for path queries by using an inverse character class (?:[^"]|\\") instead of including possible characters. This would also allow emojis (resolving #189) and quotes for Linux and MacOS in file queries. Since the file already exists, we can assume that the filename is valid and can be queried. I've tested this patch for some time now and haven't noticed any problems.

esm7 commented 4 months ago

Thank you for this, will review and hopefully get it in soon!

esm7 commented 4 months ago

Seems great, thank you again!