module Kernel

Fake so YARD generates the file.

Public Instance Methods

RE2(*args) click to toggle source

Returns a new RE2 object with a compiled version of pattern stored inside. Equivalent to RE2.new.

@return [RE2::Regexp] an RE2::Regexp with the specified pattern and options @param [String] pattern the pattern to compile @param [Hash] options the options to compile a regexp with @see RE2::Regexp.new

static VALUE re2_re2(int argc, VALUE *argv, VALUE self) {
  UNUSED(self);
  return rb_class_new_instance(argc, argv, re2_cRegexp);
}