Toot

Written by Jonathan Kamens on 2025-01-21 at 05:12

@jztusk @jztusk Yes, you win the 🏆 for the first and correct answer.

And although it hadn't occurred to me, I actually think you're right that a positive lookahead assertion would work here in stead of the loop. I think I could have done:

$value =~ s/\n(?=[^ \t])/\n /g;

=> More informations about this toot | View the thread | More toots from jik@federate.social

Mentions

=> View jztusk@mastodon.social profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113864630648104422
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
196.273616 milliseconds
Gemini-to-HTML Time
0.323599 milliseconds

This content has been proxied by September (ba2dc).