This commit is contained in:
parent
ea6c9d5055
commit
d654f22310
@ -1514,7 +1514,7 @@ namespace Volian.Controls.Library
|
|||||||
{
|
{
|
||||||
if (_TextAndLink != null)
|
if (_TextAndLink != null)
|
||||||
{
|
{
|
||||||
Match m = Regex.Match(_TextAndLink, @"<START\](\\[^v \\]+)*\\v0(\\[^v \\]+)* (.*?)(\\[^v \\]+)*\\v(\\[^v \\]+)* #Link:(.*?)\[END>");
|
Match m = Regex.Match(_TextAndLink, @"<START\](\\[^v \\]+)*\\v0(\\[^v \\]+)* (.*?)(\\[^v'? \\]+)*\\v(\\[^v \\]+)* #Link:(.*?)\[END>");
|
||||||
return m.Groups[3].ToString();
|
return m.Groups[3].ToString();
|
||||||
}
|
}
|
||||||
return _Text;
|
return _Text;
|
||||||
@ -1523,7 +1523,7 @@ namespace Volian.Controls.Library
|
|||||||
{
|
{
|
||||||
if (_TextAndLink != null)
|
if (_TextAndLink != null)
|
||||||
{
|
{
|
||||||
Match m = Regex.Match(_TextAndLink, @"<START\](\\[^v \\]+)*\\v0(\\[^v \\]+)* (.*?)(\\[^v \\]+)*\\v(\\[^v \\]+)* #Link:(.*?)\[END>");
|
Match m = Regex.Match(_TextAndLink, @"<START\](\\[^v \\]+)*\\v0(\\[^v \\]+)* (.*?)(\\[^v'? \\]+)*\\v(\\[^v \\]+)* #Link:(.*?)\[END>");
|
||||||
System.Text.RegularExpressions.Group g = m.Groups[3];
|
System.Text.RegularExpressions.Group g = m.Groups[3];
|
||||||
_TextAndLink = _TextAndLink.Substring(0, g.Index) + value + _TextAndLink.Substring(g.Index + g.Length);
|
_TextAndLink = _TextAndLink.Substring(0, g.Index) + value + _TextAndLink.Substring(g.Index + g.Length);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user