Alias validation evolved incrementally with the alias spec. This has left overcomplicated validation functions and some missed validation cases.
Fix this.
Function one: meetsAliasSpec
Does a given string meet the spec for registration as an alias?
Function two: isValidAliasSendInput -- same as function one, except it must also end with a .xec suffix.
Add unit tests for both cases. Since these functions are already used in the app, implement the new functions.