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 // TODO: only tested with msvc10
37 #if defined(LYX_USE_TR1) && defined(_MSC_VER)
41 #define match_partial _Match_partial // why is match_partial not public?
48 LYX_REGEX_TO_LYX(std::tr1);
53 #include "boost/regex.hpp"
57 LYX_REGEX_TO_LYX(boost);