-removed error in regex. -categories with not implemented pattern are ignored.