On Tuesday, 15 April 2003 at 0:15:57 +0900, ts wrote: > >>>>> "J" == Jim Freeze <jim / freeze.org> writes: > > J> re_equal = rb_reg_regcomp("\\s*=\\s"); > J> re_space = rb_reg_regcomp("\\s+"); > > See [ruby-talk:69375], you must give a VALUE (rb_str_new2()), not a string > Thanks > p.s. : I hope that re_equal and re_space are protected against the GC I don't know how to do that yet. I have just declared them as static in my .c file. But, maybe that doesn't matter. -- Jim Freeze ---------- There are two types of people in this world, good and bad. The good sleep better, but the bad seem to enjoy the waking hours much more. -- Woody Allen