This code is expected to test a string to find if a regex pattern matches. I am not able to pull it together. Please help. Thanks
string pattern="\d*\\|\event\b"; // test for the string "4|event" or "25|event"
Regex *rx = new Regex(pattern, RegexOptions::IgnoreCase);
Compile time errors, first one is:
Regex - undeclared identifier
However the step is take from the example in https://www.mql5.com/en/code/15242
Not sure if this will work but try this: