Illegal argument to a regular expression. [ SELECT `catalog`.*, `users`.`vip`, `users`.`partner`, `catalog_tree_i18n`.`name` AS `type`, LTRIM(catalog_i18n.name) AS `name`, `resorts_i18n`.`name` AS `resort_name`, `catalog_comments`.`comments` FROM `catalog` JOIN `catalog_i18n` ON (`catalog`.`id` = `catalog_i18n`.`row_id`) LEFT JOIN `users` ON (`catalog`.`user_id` = `users`.`id`) JOIN `catalog_tree` ON (`catalog`.`parent_id` = `catalog_tree`.`id`) JOIN `catalog_tree_i18n` ON (`catalog_tree`.`id` = `catalog_tree_i18n`.`row_id`) LEFT OUTER JOIN (SELECT `catalog_id`, COUNT(catalog_comments.catalog_id) AS `comments` FROM `catalog_comments` GROUP BY `catalog_id`) AS `catalog_comments` ON (`catalog_comments`.`catalog_id` = `catalog`.`id`) LEFT JOIN `resorts` ON (`catalog`.`resort_id` = `resorts`.`id`) LEFT JOIN `resorts_i18n` ON (`resorts`.`id` = `resorts_i18n`.`row_id`) JOIN `catalog_specifications_values` ON (`catalog_specifications_values`.`catalog_id` = `catalog`.`id`) WHERE `catalog_i18n`.`language` = 'ru' AND `catalog_tree_i18n`.`language` = 'ru' AND `catalog`.`status` = 1 AND `catalog`.`resort_id` IN ('49') AND `catalog`.`resort_id` IN ('5', '38', '40', '43', '49', '50', '104', '63', '78', '79', '80', '90', '91', '105', '61') AND (`catalog`.`specifications` RLIKE '[[:<:]]150metrov[[:>:]]' AND `catalog`.`specifications` RLIKE '[[:<:]]besedkinaterritorii[[:>:]]') GROUP BY `catalog`.`id`, `catalog_tree_i18n`.`name`, `catalog_i18n`.`name` ORDER BY CASE WHEN users.vip = 1 THEN 0 WHEN users.partner = 1 THEN -1 END DESC, `catalog`.`sort` ASC, `id` ASC LIMIT 24 OFFSET 0 ]