Removed redundant regex-brackets and switched to use a lambda-function