Anyone know of a common or standard string templating grammar, which you can use both to generate strings and parse them?

Something like `{foo}/{bar}` where I could either provide foo and bar to get a string, or give it a string and get foo and bar back (if it matches of course).

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.me.uk/users/Floppy/statuses/116211249995697474 on your instance and quote it. (Note that quoting is not supported in Mastodon.)