Ruby 3.5.0dev (2025-01-10 revision 5fab31b15e32622c4b71d1d347a41937e9f9c212)
re.h
1#ifndef INTERNAL_RE_H /*-*-C-*-vi:se ft=c:*/
2#define INTERNAL_RE_H
11#include "ruby/internal/stdbool.h" /* for bool */
12#include "ruby/ruby.h" /* for VALUE */
13
14/* re.c */
15VALUE rb_reg_compile(VALUE str, int options, const char *sourcefile, int sourceline);
16VALUE rb_reg_check_preprocess(VALUE);
17long rb_reg_search0(VALUE, VALUE, long, int, int);
18VALUE rb_reg_match_p(VALUE re, VALUE str, long pos);
19bool rb_reg_start_with_p(VALUE re, VALUE str);
20VALUE rb_reg_hash(VALUE re);
21VALUE rb_reg_equal(VALUE re1, VALUE re2);
22void rb_backref_set_string(VALUE string, long pos, long len);
23void rb_match_unbusy(VALUE);
24int rb_match_count(VALUE match);
25VALUE rb_reg_new_ary(VALUE ary, int options);
26VALUE rb_reg_last_defined(VALUE match);
27
28#endif /* INTERNAL_RE_H */
int len
Length of the buffer.
Definition io.h:8
C99 shim for <stdbool.h>
uintptr_t VALUE
Type that represents a Ruby object.
Definition value.h:40