Class: Object

Inherits:
BasicObject
Defined in:
(unknown)

Class Method Summary collapse

Class Method Details

.RE2(*args) ⇒ Object

Shorthand to compile a new RE2::Regexp.



873
874
875
# File 'ext/re2/re2.cc', line 873

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