get/fetch" regex output - currently to console, into a field in order to continue it's processing
hello boost group
i tested this program from "boost.regex" to find url's inside .htm file:
/*
*
* Copyright (c) 2003
* John Maddock
*
* Use, modification and distribution are subject to the
* Boost Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*
*/
/*
* LOCATION: see http://www.boost.org for most recent version.
* FILE regex_token_iterator_example_2.cpp
* VERSION see
M wrote:
hello boost group i tested this program from "boost.regex" to find url's inside .htm file:
i need to know how to "get/fetch" the output - currently to console, into a field in order to continue it's processing?
Use the str() member functions, or the first/second data members of the sub_match object. Refer to the sub_match docs for more info. HTH, John.
participants (2)
-
John Maddock
-
M