>>>>> "M" == Mike Stok <mike / ratdog.stok.co.uk> writes:

>>> 'mike stok' =~ /^(?i-mx:mike) (?i-mx:stok)$/
M> => nil

 Can you try this (1.6.8)

pigeon% diff -u regex.c.old regex.c
--- regex.c.old 2003-06-13 17:16:18.000000000 +0200
+++ regex.c     2003-06-13 17:16:51.000000000 +0200
@@ -1011,6 +1011,7 @@
       break;
 
     case duplicate:
+    case option_set:
       p++;
       break;
 
@@ -1036,7 +1037,6 @@
     case push_dummy_failure:
     case start_paren:
     case stop_paren:
-    case option_set:
       break;
 
     case charset:
pigeon%
 
pigeon% ./ruby -e 'p ("mike stok" =~ /^(?i-mx:mike) (?i-mx:stok)$/)'
0
pigeon% 



Guy Decoux