(Maint) Allow '+' to appear in generate function commands
Previously, the posix regex for validating generate function commands
did not allow '+', however, this character appears in Tempfiles on
Mac.
This commit relaxes the regex to allow for '+' and adds a test for it.
The '-' character was already allowed.
Reviewed-by: Daniel Pittman <daniel@rimspace.net>