Add another default Permissions constructor
Implement regex matching/replacement