The right index determines the point from which we're continuing to check for any further bracket formats. Unfortunately, ir was never reset to 0 before / after each loop, which means
{*test*} {_test_} {-test-} {%night.png%}
worked fine (we checked for the next {_ after the last *}, the next {- after the last -}, ...), but anything in any other order suddenly didn't work anymore.
The right index determines the point from which we're continuing to check for any further bracket formats. Unfortunately, ir was never reset to 0 before / after each loop, which means
{*test*} {_test_} {-test-} {%night.png%}
worked fine (we checked for the next
{_
after the last*}
, the next{-
after the last-}
, ...), but anything in any other order suddenly didn't work anymore.Sorry for not having noticed this earlier.