I have the following regex:
'[^']*'(*SKIP)(F)|\b[_A-Za-z]\w\b(?![(']).
and it works fine as expected (select variables from expression). But when I try to use it in .NET:
private string regex = @"'[^']*'(*SKIP)(*F)|\b[_A-Za-z]\w*\b(?![('])";
private string _expression = @"12+x1+455+'ggg+4+rrr+tt'+3"
var matches = Regex.Matches(_expression, regex);
it does not find anything. I suppose, it's specific to use SKIP in Regex of .NET class.