|
I don't think we will see special handling for other metacharacters such as "@" and "%" inside strings, and that is a good thing.
The case of "$" being used for a hidden share is manageable as there is no trailing text to be interpreted as a variable name. Mail addresses specifically would be hard to handle.
Here's a simple example of how it would be a problem. Say I had a Linux server which in a moment of madness I had named "LSERVER". Should the email address "root@LSERVER.ACME.COM" refer to my Linux server, or my login server?
If a bare "@" is treated as a literal you could of course use "root@" + "LSERVER.ACME.COM" for a literal address and "root@LSERVER.ACME.COM" to expand to the login server.
It's more natural however to escape metacharacters, so that if you use "root@@LSERVER.ACME.COM" it is quite clear on your intent.
|