[Mono-bugs] [Bug 54265][Min] Changed - spurious error message with regex matching

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Dec 7 07:24:26 EST 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by mono at vergari.ch.


--- shadow/54265	2006-05-12 15:48:29.000000000 -0400
+++ shadow/54265.tmp.20647	2006-12-07 07:24:26.000000000 -0500
@@ -1,9 +1,9 @@
 Bug#: 54265
 Product: Mono: Class Libraries
-Version: unspecified
+Version: 1.2
 OS: unknown
 OS Details: 
 Status: NEW   
 Severity: Unknown
 Priority: Minor
@@ -238,6 +238,47 @@
 were always there (happen during processing vanilla http requests) 
 but fine if I extract the regex inputs and tested with isolated cases.
 I guess that you can put break point or trace there and see whether 
 any of your aspx projects can trigger it. If cannot be reproduced, 
 then it could actually have been fixed during these four months.
+------- Additional Comments From mono at vergari.ch  2006-12-07 07:24 -------
+I have the same error. In the method
+System.Text.RegularExpressions.Interpreter.Backtrack() on line 940
+(mono the condition Debug.Assert(cp > mark_start, "Regex",
+"Attempt to backtrack forwards") is false and the message is displayed.
+My question is why? The regex works fine and the result in mono is the
+same which I receive from the original implementation from MS.
+[ \t]*(?<Address>(?>(?<Company>([^\|]+))[ \t]*(\|)[
+\t]*(?<DescriptionStreet>((?<Description>([^\|]+))[ \t]*(\|)[
+\t]*((?<Description>([^\|]+))[ \t]*(\|))?[
+\t]*((?<Description>([^\|]+))[ \t]*(\|))?[
+\t]*(?<Street>((?!((Postfach|CP|PF|Case postale) ))[^\|]+))[
+\t]*(\|)|((?<Street>((?!((Postfach|CP|PF|Case postale) ))[^\|]+))[
+\t]*(\|))?))[ \t]*((Postfach|CP|PF|Case postale)[ \t]*((?<PO>(\d+)))?[
+\t]*(\|))?[ \t]*(?<PLZ>((CH\-|D\-|FL\-)?\d{4,}(?!([+()[\]./ '-]*\d))))[
+\t]*(?<City>([^\|]+))[ \t]*((\|)[
+\t]*(?<Country>(Schweiz|Liechtenstein)))?)[ \t]*((?>(\|)[
+\t]*((Tél.|Tel\.G:|Telefon Geschäft:|Occasi|Corv:|Telefon))?[
+'-]*\d){9,}[^\|]*)))?))?[ \t]*((?>(\|)[ \t]*((Tel\.P:|Telefon
+'-]*\d){9,}[^\|]*)))?))?[ \t]*(((?>(\|)[ \t]*(Handy:|Mobile:|Natel)[
+'-]*\d){9,}[^\|]*)))?))?[ \t]*((?>(\|)[ \t]*(Fax:)[
+'-]*\d){9,}[^\|]*)))?))?|((?>(\|)[ \t]*(Fax:)[
+'-]*\d){9,}[^\|]*)))?))?[ \t]*((?>(\|)[ \t]*(Handy:|Mobile:|Natel)[
+'-]*\d){9,}[^\|]*)))?))?)[ \t]*((?>(\|)[ \t]*(?<Url>(http[^\|]+))))?[
+\t]*((?>(\|)[ \t]*(Email:)[ \t]*((?<Mail>([\w. at -]+)))?))?)[ \t]*
+mito ag - Opel|Zugerstrasse 7|6340 Sihlbrugg|Schweiz|041 760 92

More information about the mono-bugs mailing list