How can I refer to parts of the path pattern when specifying the tag in the plugin options?
I tried something similar to capture groups in regex but did not succeed.
resource/([^/]+): \1
resource/[^/]+/([^/]+): \1
E.g When I create a note in <myvault>/resource/bgc/bgc-logbook I want the following tags to be added:
I have no experience in javascript or typescript, but some regexp matching seems to be possible according to this post
I want to create a tag for each path component. This might by probably easier implemented as a separate plugin that does not need to parse config rules.
How can I refer to parts of the path pattern when specifying the tag in the plugin options?
I tried something similar to capture groups in regex but did not succeed.
resource/([^/]+): \1resource/[^/]+/([^/]+): \1E.g When I create a note in
<myvault>/resource/bgc/bgc-logbookI want the following tags to be added:I have no experience in javascript or typescript, but some regexp matching seems to be possible according to this post
I want to create a tag for each path component. This might by probably easier implemented as a separate plugin that does not need to parse config rules.