Toot

Written by Mike Clarke on 2025-01-29 at 21:03

@profoundlynerdy I think the main points are:

a) splitting out the two cases of with and without commas, so you can think about one at a time rather than coming up with one monster regexp (which is the whole benefit of grammars) and

b) matching the comma before a fixed group of 3, rather than as an option after a variable-length group.

Would be interested to see other solutions though!

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

Mentions

=> View profoundlynerdy@bitbang.social profile

Tags

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

This content has been proxied by September (3851b).