new Regex ("^(else|elif|except|finally)([^a-zA-Z_0-9]).*", RegexOptions.Compiled);
}
+
+ [Test]
+ public void Bug610587_RepetitionOfPositionAssertion ()
+ {
+ Assert.AreEqual ("888", Regex.Match("888", "^*8.*").Value);
+ }
+
void Kill65535_1 (int length)
{
StringBuilder sb = new StringBuilder ("x");
Assert.AreEqual ((n * (n - 1)) / 2, sum, "#3:" + r);
}
+
static string bug80554_s = @"(?(static)|(.*))(static)";
static RegexTrial[] bug80554_trials = {
new RegexTrial (bug80554_s, RegexOptions.None, "static", "Pass. Group[0]=(0,6) Group[1]= Group[2]=(0,6)"),