Over a million developers have joined DZone.

C++ C Regex Library Pcrecpp

·
// description of your code here


#include "pcrecpp.h"
#include
#include
using namespace std;
int main()
{
        pcrecpp::RE re("a(.+?)b(.+?)c");
        pcrecpp::RE re_item("@ITEM@");
        string s1,s2;
        int i,j;
        if(re.FullMatch("a3bccc",&s1,&s2))
        {
                cout<<"ok\trst:"<
Topics:

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}