Class: Object

Inherits:
BasicObject
Defined in:
(unknown)

Class Method Summary collapse

Class Method Details

.RE2(*args) ⇒ Object

Shorthand to compile a new RE2::Regexp.



861
862
863
# File 'ext/re2/re2.cc', line 861

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