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.
15 #if defined(LYX_USE_TR1) && defined(LYX_USE_TR1_REGEX)
18 # define match_partial _Match_partial
21 // TODO no match_partial in gcc, how to replace?
22 # define match_partial match_default
24 # define LR_NS std::tr1
26 # include <boost/regex.hpp>
33 using LR_NS::regex_replace;
34 using LR_NS::basic_regex;
35 using LR_NS::regex_error;
36 using LR_NS::regex_search;
37 using LR_NS::sregex_iterator;
38 using LR_NS::match_results;
40 namespace regex_constants
42 using namespace LR_NS::regex_constants;
43 using LR_NS::regex_constants::match_flag_type;