Server Error in '/' Application.

parsing "\名\探\偵\コ\ナ\ン\,animation\,dvd\,tv\,conan\,detective\,japanese\,alison retzloff|case closed season 1\-5|mark stoddard|jerry jewell|case closed" - Unrecognized escape sequence \名.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: parsing "\名\探\偵\コ\ナ\ン\,animation\,dvd\,tv\,conan\,detective\,japanese\,alison retzloff|case closed season 1\-5|mark stoddard|jerry jewell|case closed" - Unrecognized escape sequence \名.

Source Error:


Line 29:             title = NullToEmpty(title);
Line 30: 
Line 31:             Regex r = new Regex(ToLengthDesc(keyword.Replace(",", "|")).ToLower());
Line 32:             Match match = r.Match(title.ToLower());
Line 33:             StringBuilder sb = new StringBuilder();

Source File: d:\inetpub\vhosts\brandan-624.package\dvd-fan.com\wwwroot\App_Code\Com\KeyWords.cs    Line: 31

Stack Trace:


[ArgumentException: parsing "\名\探\偵\コ\ナ\ン\,animation\,dvd\,tv\,conan\,detective\,japanese\,alison retzloff|case closed season 1\-5|mark stoddard|jerry jewell|case closed" - Unrecognized escape sequence \名.]
   System.Text.RegularExpressions.RegexParser.ScanCharEscape() +400
   System.Text.RegularExpressions.RegexParser.ScanBasicBackslash() +773
   System.Text.RegularExpressions.RegexParser.ScanRegex() +987
   System.Text.RegularExpressions.RegexParser.Parse(String re, RegexOptions op) +164
   System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, TimeSpan matchTimeout, Boolean useCache) +362
   System.Text.RegularExpressions.Regex..ctor(String pattern) +58
   Com.KeyWords.Title(String keyword, String title) in d:\inetpub\vhosts\brandan-624.package\dvd-fan.com\wwwroot\App_Code\Com\KeyWords.cs:31
   ASP.li_page_product_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\inetpub\vhosts\brandan-624.package\dvd-fan.com\wwwroot\li\page\Product.ascx:36
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +117
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +132
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +271
   System.Web.UI.Page.Render(HtmlTextWriter writer) +39
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +132
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +9490


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0