2 def self.__regexp_new__(str, opts)
3 Ruby.primitive :regexp_new
4 raise PrimitiveFailure, "primitive failed"
7 def search_region(str, start, finish, forward) # equiv to MRI's re_search
8 Ruby.primitive :regexp_search_region
9 raise PrimitiveFailure, "primitive failed"
12 def match_start(str, offset) # equiv to MRI's re_match
13 Ruby.primitive :regexp_match_start
14 raise PrimitiveFailure, "primitive failed"
18 Ruby.primitive :regexp_options
19 raise PrimitiveFailure, "primitive failed"