Updated to enable regular expression for category