Enable/Disable layouts using regex matching