>>>>> "J" == Jim Freeze <jim / freeze.org> writes: J> If I use rb_funcall, Do I have to make two calls? One J> to create the regex and one to apply it? J> Is there a faster way? It really depend what call you want to do. For example, String#sub can take a String or a Regexp as the first argument. You can call Regexp::new (via rb_funcall) To create a regexp you have also rb_reg_regcomp(VALUE). You can use perhaps also rb_reg_match() Guy Decoux