Hi,

2007/12/2, Evan Weaver <evan / cloudbur.st>:
> VVSiz led me to this one. On 1.8.6:
>
> >> "A" =~ /[^a]/i
> => nil
>
> On trunk:
>
> >> "A" =~ /[^a]/i
> => 0


This is working, though M17N-related bug might still remain.


Index: regparse.c
===================================================================
--- regparse.c	(revision 14113)
+++ regparse.c	(working copy)
@@ -4808,10 +4808,7 @@
       }
       else {
 	/* /(?i:[^A-C])/.match("a") ==> fail. */
-	if (IS_NCCLASS_NOT(cc))
-	  BITSET_CLEAR_BIT(bs, *to);
-	else
-	  BITSET_SET_BIT(bs, *to);
+	BITSET_SET_BIT(bs, *to);*/
       }
     }
   }

-- 
Yusuke ENDOH <mame / tsg.ne.jp>