Hi,
I have an issue with
SyntaxEditor.SelectedView.FindReplace.Find(options);
when using the regular expression search (defined in options).
1.) In the search text any trailing or leading blanks are ignored, e.g. " test " is treated as if I had entered "test". Why?
2.) If I enter find"this as search text, I get an exception because the string contains an unquoted ". Why do I have to quote " in here? If I enter a regex in C# code I have to quote, but not because of the regex but because of the C# syntax, e.g.
string regex = "find\"this";
But the string regex contains these unicode chars: find"this
Can you help?
I have an issue with
SyntaxEditor.SelectedView.FindReplace.Find(options);
when using the regular expression search (defined in options).
1.) In the search text any trailing or leading blanks are ignored, e.g. " test " is treated as if I had entered "test". Why?
2.) If I enter find"this as search text, I get an exception because the string contains an unquoted ". Why do I have to quote " in here? If I enter a regex in C# code I have to quote, but not because of the regex but because of the C# syntax, e.g.
string regex = "find\"this";
But the string regex contains these unicode chars: find"this
Can you help?