зеркало из https://github.com/mono/mail-archives.git
122 строки
4.1 KiB
HTML
122 строки
4.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 77487][Nor] New - Regex isn't matched
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2077487%5D%5BNor%5D%20New%20-%20Regex%20isn%27t%20matched&In-Reply-To=bug-77487%40chernobyl.ximian.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="039000.html">
|
|
<LINK REL="Next" HREF="039002.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 77487][Nor] New - Regex isn't matched</H1>
|
|
<B>bugzilla-daemon at bugzilla.ximian.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2077487%5D%5BNor%5D%20New%20-%20Regex%20isn%27t%20matched&In-Reply-To=bug-77487%40chernobyl.ximian.com"
|
|
TITLE="[Mono-bugs] [Bug 77487][Nor] New - Regex isn't matched">bugzilla-daemon at bugzilla.ximian.com
|
|
</A><BR>
|
|
<I>Mon Feb 6 18:10:26 EST 2006</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="039000.html">[Mono-bugs] [Bug 77405][Nor] Changed - incorrect http_proxy handling
|
|
</A></li>
|
|
<LI>Next message: <A HREF="039002.html">[Mono-bugs] [Bug 77371][Min] Changed - hostname change breaks xsp
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#39001">[ date ]</a>
|
|
<a href="thread.html#39001">[ thread ]</a>
|
|
<a href="subject.html#39001">[ subject ]</a>
|
|
<a href="author.html#39001">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>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 <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">kiess at h3c.de.</A>
|
|
|
|
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=77487">http://bugzilla.ximian.com/show_bug.cgi?id=77487</A>
|
|
|
|
--- shadow/77487 2006-02-06 18:10:26.000000000 -0500
|
|
+++ shadow/77487.tmp.8739 2006-02-06 18:10:26.000000000 -0500
|
|
@@ -0,0 +1,55 @@
|
|
+Bug#: 77487
|
|
+Product: Mono: Class Libraries
|
|
+Version: 1.0
|
|
+OS:
|
|
+OS Details:
|
|
+Status: NEW
|
|
+Resolution:
|
|
+Severity:
|
|
+Priority: Normal
|
|
+Component: System
|
|
+AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
|
|
+ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">kiess at h3c.de</A>
|
|
+QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
|
|
+TargetMilestone: ---
|
|
+URL:
|
|
+Cc:
|
|
+Summary: Regex isn't matched
|
|
+
|
|
+Description of Problem:
|
|
+The regex "^(a[^a]*)*a$" doesn't match the string "a a".
|
|
+
|
|
+Steps to reproduce the problem:
|
|
+1. cat > Regex.cs << EOF
|
|
+using System;
|
|
+using System.Text.RegularExpressions;
|
|
+
|
|
+public class M {
|
|
+ public static void Main() {
|
|
+ Console.WriteLine (Regex.Matches("a a", @"^(a[^a]*)*a$").Count);
|
|
+ }
|
|
+}
|
|
+EOF
|
|
+2. mcs Regex.cs
|
|
+3. mono Regex.exe
|
|
+
|
|
+Actual Results:
|
|
+0
|
|
+
|
|
+Expected Results:
|
|
+1
|
|
+
|
|
+How often does this happen?
|
|
+always
|
|
+
|
|
+Additional Information:
|
|
+I'm using Mono svn r56594
|
|
+
|
|
+When I run
|
|
+ echo 'a a' | egrep '^(a[^a]*)*a$'
|
|
+it outputs
|
|
+ a a
|
|
+so the regex should be correct.
|
|
+
|
|
+Also, if I remove one of the stars in the C# program, the program will run
|
|
+correctly.
|
|
</PRE>
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="039000.html">[Mono-bugs] [Bug 77405][Nor] Changed - incorrect http_proxy handling
|
|
</A></li>
|
|
<LI>Next message: <A HREF="039002.html">[Mono-bugs] [Bug 77371][Min] Changed - hostname change breaks xsp
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#39001">[ date ]</a>
|
|
<a href="thread.html#39001">[ thread ]</a>
|
|
<a href="subject.html#39001">[ subject ]</a>
|
|
<a href="author.html#39001">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
|
|
mailing list</a><br>
|
|
</body></html>
|