Allow use of Perl metacharacters like [..] in application name. Thanks to Magnus Persson for the report.