jeudi 21 juillet 2016

Why am I not Able to Construct This Regex

I wrote this regex:

(.+?)\s*{?\s*(.+?;)\s*}?\s*

Which tests fine: http://ift.tt/29YeCJg

But when I try to construct it in C++ I get a runtime-error: http://ift.tt/2a3Hofk

Am I using functionality that C++ doesn't support?

Aucun commentaire:

Enregistrer un commentaire