4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
18 #define LYX_REGEX_TO_LYX(X) \
21 using X::regex_replace; \
22 using X::basic_regex; \
23 using X::regex_error; \
24 using X::regex_search; \
25 using X::sregex_iterator; \
26 using X::match_results; \
28 namespace regex_constants \
30 using namespace X::regex_constants; \
31 using X::regex_constants::match_flag_type; \
36 #if defined(LYX_USE_TR1) && defined(LYX_USE_TR1_REGEX)
40 #define match_partial _Match_partial
43 // TODO no match_partial in gcc, how to replace?
44 #define match_partial match_default
49 LYX_REGEX_TO_LYX(std::tr1);
54 #include "boost/regex.hpp"
58 LYX_REGEX_TO_LYX(boost);