jame_peng1028
2009-10-08T10:43:54Z
hi all, i ecount some Compile Error , i debug it ,find the error where,
pls see the code:(can you tell this Garbled what is)


the code below the solution :E:\YAF-FINAL\YAF.Classes\YAF.Classes.UI\ReplaceRules.cs

public class HtmlReplacementCollection
{
private Dictionary<int, HtmlReplacementBlock> _replacementDictionary;
private int _currentIndex = 0;
private RegexOptions _options = RegexOptions.IgnoreCase | RegexOptions.Multiline;
private Regex _rgxHtml;
private string _replaceFormat = "黢襸{1}曛{0}蹑?";
// this string is what?
private int _randomInstance;

public HtmlReplacementCollection()
{
_replacementDictionary = new Dictionary<int, HtmlReplacementBlock>();
_rgxHtml = new Regex( @"</?\w+((\s+\w+(\s*=\s*(?:"".*?""|'.*?'|[^'"">\s]+))?)+\s*|\s*)/?>", _options );

RandomizeInstance();
}
Sponsor

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved