1 | /////////////////////////////////////////////////////////////////////////////// |
---|---|
2 | // multiple_defs1.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 | extern int f(); |
10 | int main() |
11 | { |
12 | using namespace boost::xpressive; |
13 | sregex srx = +_; |
14 | sregex drx = sregex::compile(begin: ".+"); |
15 | return f(); |
16 | } |
17 |