Somehow I completely missed that split can do match groups…
Oopsie!
I did it in Python today but I did make a completely functional (and way too complicated) algorithm.
Tap for spoilerThe way you handle the do and dont is much cleaner
.
=> More informations about this toot | View the thread | More toots from F04118F@feddit.nl
=> View ellyse@ohai.social profile
text/gemini
This content has been proxied by September (ba2dc).