This commit is contained in:
Kathy committed 2009-02-26 15:35:36 +00:00
1 parent 490db100a6
commit ff815ba28c
3 files changed
+8 -2

No files matched your search

+5
View File
@@ -193,6 +193,11 @@ namespace DataLoader
s2 = Regex.Replace(s2, @"\x13([^\x13 ]*?)(?:[\x13]|(?= )|\Z)(.*?)", @"\b $1\b0 $2");
s2 = Reg2.Replace(s2, new MatchEvaluator(ReplaceChars));
// Now prepend an escape character, '\', to any curly brace. The curly brace
// is used in rtf land.
s2 = s2.Replace(@"{", @"\{");
s2 = s2.Replace(@"}", @"\}");
return s2;
}
}