dimanche 29 janvier 2017

regex match c++

What is a simple way to return a string that matches a regex in C++11? Example:

"The great brown fox jumped over the lazy dog."

/g[a-z]+/

Returns: "great"

Aucun commentaire:

Enregistrer un commentaire