lundi 23 juillet 2018

How do I validate a regular expression using C++

I am writing a C++11 program that will accept a regular expression as a parameter. Does there exist a library or method which I can use to validate a given regular expression?

The given regular expression will be used to match a range of telephone numbers, so I'm guessing something like "^123456789[0-9]$".

Aucun commentaire:

Enregistrer un commentaire