Hello Nicolas,

Nicolas Goaziou <m...@nicolasgoaziou.fr> writes:

I still cannot make it work property.

With the following document:

--8<---------------cut here---------------start------------->8---
* Foo
** Bar
* Foo2
--8<---------------cut here---------------end--------------->8---

Trying to refile "Foo2" under "Foo/Bar/Baz/" results in:

--8<---------------cut here---------------start------------->8---
* Foo
** Bar
* Foo
** Bar
*** Baz
**** Foo2
--8<---------------cut here---------------end--------------->8---

This was due to the trailing slash in the refile target. I now amended the regex to normalize such input and added a test case with a trailing slash. Care to give it another spin?

Kind regards,

S.

--
Insane cobra split the wood
Trader of the lowland breed
Call a jittney, drive away
In the slipstream we will stay

Reply via email to