-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider adding alternate FormattedComponent using string.Template #840
Comments
Should we call it |
I'll leave it at that 🤷♂️ |
How about |
^ PSA: This is a joke. :-D |
I thought it's a pair of names from the latest Star Wars 😄 |
A musical term, as in: senza sordino TemproComponent ma non troppo
Maksim Rakitin wrote:
… I thought it's a pair of names from the latest Star Wars 😄
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#840 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARMUMCBFNLSKCQBYE5SPHTRM5JTPANCNFSM4MIW3RLQ>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This would more closely mimic how epics-base does string interpolation.
https://docs.python.org/3/library/string.html#template-strings
Copying in the documentation relevant portions and example:
$identifier names a substitution placeholder matching a mapping key of "identifier". By default, "identifier" is restricted to any case-insensitive ASCII alphanumeric string (including underscores) that starts with an underscore or ASCII letter. The first non-identifier character after the $ character terminates this placeholder specification.
${identifier} is equivalent to $identifier. It is required when valid identifier characters follow the placeholder but are not part of the placeholder, such as "${noun}ification".
$$ is an escape; it is replaced with a single $.
(Had I known it existed in 2015, I would've used it in the first place...)
The text was updated successfully, but these errors were encountered: