This commit is contained in:
Kathy Ruffing 2010-10-07 12:45:30 +00:00
parent d19352acb6
commit 500f8a6e28

View File

@ -176,7 +176,7 @@ namespace Volian.Controls.Library
} }
public class RtfLine : List<RtfPiece> public class RtfLine : List<RtfPiece>
{ {
private static Regex _RegRtfText = new Regex(@"((\\[^'u ]*|\\up[0-9]|\\ul0?)+( |$))?(<START\]|#Link.*?\[END>|\\'[0-9a-fA-F]{2}|\\u[0-9]*\?|[^\\]{1}|$|)"); private static Regex _RegRtfText = new Regex(@"((\\[^'u ]*|\\up[0-9]|\\ul|\\ulnone)+( |$))?(<START\]|#Link.*?\[END>|\\'[0-9a-fA-F]{2}|\\u[0-9]*\?|[^\\]{1}|$|)");
public RtfLine(string text) public RtfLine(string text)
{ {
MatchCollection matches = _RegRtfText.Matches(text); MatchCollection matches = _RegRtfText.Matches(text);