Hi,
I want to parse DomText with a regular expression. Here's my code:
Document doc = tb.MainDocument;
string DomText = doc.GetDomText(false);
string result = instance.RiseMacros("RegExp.RegExp", new [] {DomText, "META", "all"});
The problem is whatever I enter in the second parameter ("META" in my case) the result is this string: "{-RegExp.RegExp".
I tried testing the macro by entering some string instead of the DomText variable.
string result = instance.RiseMacros("RegExp.RegExp", new [] {"META 1234", "META", "all"});
and it properly runs the macro (the result is "META").
What is wrong? Is this some bug?
I want to parse DomText with a regular expression. Here's my code:
Document doc = tb.MainDocument;
string DomText = doc.GetDomText(false);
string result = instance.RiseMacros("RegExp.RegExp", new [] {DomText, "META", "all"});
The problem is whatever I enter in the second parameter ("META" in my case) the result is this string: "{-RegExp.RegExp".
I tried testing the macro by entering some string instead of the DomText variable.
string result = instance.RiseMacros("RegExp.RegExp", new [] {"META 1234", "META", "all"});
and it properly runs the macro (the result is "META").
What is wrong? Is this some bug?