- .replaceAll("[^\\w\\-\\.]+", "_") // replace other non [alphanumeric,_,-,.]
- .replaceAll("_+", "_")
- .replaceAll("_*-_*", "-")
+ .replaceAll("[^\\w\\-\\.]", "_") // replace other non [alphanumeric,_,-,.]
+ .replaceAll("_+", "_") // collapse __
+ .replaceAll("_*-_*", "-") // collapse _-_
+ install4jUnixApplicationFolder = install4jInternalId
+ .toLowerCase()