1 ///////////////////////////////////////////////////////////////////////////////
2 // multiple_defs2.cpp
3 //
4 //  Copyright 2008 Eric Niebler. Distributed under the Boost
5 //  Software License, Version 1.0. (See accompanying file
6 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 
8 #include <boost/xpressive/xpressive.hpp>
9 
f()10 int f()
11 {
12     using namespace boost::xpressive;
13     sregex srx = +_;
14     sregex drx = sregex::compile(".+");
15 
16     return 0;
17 }
18