Всем доброго времени суток. У меня тут проблема с регуляркой, во время выполнения ругается. А как по другому переписать я пока не разобрался, мож кто стыкался?
RegEx
Вывод:Code:const boost::regex e("^\/\*[\s\S]*?\*\/|^\/\/");
Code:terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::regex_error> >' what(): Invalid preceding regular expression prior to repetition operator. The error occured while parsing the regular expression: '^/*[sS]*?*>>>HERE>>>/|^//'.



Reply With Quote
Thanks
