これが動けばいいんですが

#include <iostream>
#include "re2/re2.h"
#pragma comment(lib, "libre2.lib")
using namespace std;

int main(){
int number;
RE2::FullMatch("abc", "[a-z]+(\\d+)?", &number);
}