Oof... it took longer than I'd hoped, and quite some struggling with a negative look-ahead #regularExpression, but I think I've finally fixed my gemini=move-after-paragraph-$i filter for #GeminiTools.
Now I can move blocks one or more paragraphs ahead, to compensate for image floats that needed to be before one or more paragraphs in the original HTML output.
#regularExpression #GeminiTools #coding