vendredi 14 août 2020

filling std::match_results manually

I have a class that handles regular expressions but is UTF-8 aware. I want to be able to fill the standard std::match_result container to handle the result.

How can it be done, and is it even allowed by C++ standard?

I can't find relevant API for this task.

For example I can't find a constructor for std::match_result that actually allows to assign the sub_match values.

Aucun commentaire:

Enregistrer un commentaire