mardi 4 octobre 2016

C++ reverse regex_search

I am using std::regex and want to find the last position in a string that matches some user defined regular expression string.

For example given the regex :.* and the string "test:55:last", I want to find ":last", not ":55:last".

Aucun commentaire:

Enregistrer un commentaire