support a custom regex for created views