Added RegExp for classify pattern