Boost logo

Ublas :

Subject: [ublas] Using regex_token_iterator
From: setanta (djd_at_[hidden])
Date: 2010-04-02 08:28:27


I am looking for some documentation/clarification on the third parameter
(sub_match) in this function.

             regex myReg10("/");
             string S3 = "2009/1/1";

//...
        sregex_token_iterator itToken(S3.begin(), S3.end(), myReg10, -1);
        sregex_token_iterator TokenEnd;
//...

In this case it is -1 but I have been unable to find a compact overview for
other values and when using a vector for submatches.

-- 
View this message in context: http://old.nabble.com/Using-regex_token_iterator-tp28118518p28118518.html
Sent from the Boost - uBLAS mailing list archive at Nabble.com.