P
persres
Hi,
I have a string. I want to look for the substring that matches
regexp (*).
That is :
string str("abc + (inside brackets)dfsd";
I want to get the substring ---- (inside brackets).
Is it possible using string member functions and algorithms?
How about the same functionality for any vector.
I believe we could use boost.regex. But I am just learning stl algos
thoroughly. I am wondering if there is any nice way using some calls
such as substring, find ,search, adjacent etc.
Thanks
I have a string. I want to look for the substring that matches
regexp (*).
That is :
string str("abc + (inside brackets)dfsd";
I want to get the substring ---- (inside brackets).
Is it possible using string member functions and algorithms?
How about the same functionality for any vector.
I believe we could use boost.regex. But I am just learning stl algos
thoroughly. I am wondering if there is any nice way using some calls
such as substring, find ,search, adjacent etc.
Thanks