ivan-lednev / obsidian-task-archiver

Archive completed tasks in your Obsidian vault (plus other org-mode-like features)
MIT License
116 stars 12 forks source link

Regex is not picking up anything after the first tag #49

Open trevware opened 1 year ago

trevware commented 1 year ago

Hello! For the Replace some text before archiving, I've set the regular expression to #\w+ which should pick up every tag, in order to replace it with #archive. However, it seems that it's only ever picking up the first capture group and I can't find an expression that works to avoid that. Am I just bad at regular expressions or is the first ever capture hard coded?

ivan-lednev commented 1 year ago

Hey, @trevware, try updating the plugin and re-check. Let me know if it helped!