Posted 14 years ago
by Steve GW
Version: 9.2.0514
Platform: .NET 3.5
Environment: Windows Vista (32-bit)
![Avatar](https://secure.gravatar.com/avatar/241b8face2284de3cde83be85d93df20.jpg?s=64&d=identicon&r=g)
When using basic find and replace for example
EditorSearchOptions options = new EditorSearchOptions();
options.FindText = find;
options.ReplaceText = replace;
options.PatternProvider = SearchPatternProviders.Normal;
options.Scope = EditorSearchScope.Document;
options.MatchWholeWord = true;
and find = XXX. 20
and replace = XXX. 30
The replace result becomes XXX\. 30
which to me is odd
is there some syntax causing this it should be XXX. 30
or is it a strange bug
Steve
EditorSearchOptions options = new EditorSearchOptions();
options.FindText = find;
options.ReplaceText = replace;
options.PatternProvider = SearchPatternProviders.Normal;
options.Scope = EditorSearchScope.Document;
options.MatchWholeWord = true;
and find = XXX. 20
and replace = XXX. 30
The replace result becomes XXX\. 30
which to me is odd
is there some syntax causing this it should be XXX. 30
or is it a strange bug
Steve