Ruby: internal/re.h Source File

Ruby 3.3.4p94 (2024-07-09 revision be1089c8ec5ba40e09b1553e36b3174bf4014d9d)

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 */
15 VALUE rb_reg_compile(VALUE str, int options, const char *sourcefile, int sourceline);
16 VALUE rb_reg_check_preprocess(VALUE);
17long rb_reg_search0(VALUE, VALUE, long, int, int);
18 VALUE rb_reg_match_p(VALUE re, VALUE str, long pos);
19bool rb_reg_start_with_p(VALUE re, VALUE str);
20 VALUE rb_reg_hash(VALUE re);
21 VALUE 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);
25 VALUE rb_reg_new_ary(VALUE ary, int options);
26 VALUE rb_reg_last_defined(VALUE match);
27
28#endif /* INTERNAL_RE_H */
len
int len
Length of the buffer.
Definition io.h:8
ruby.h
stdbool.h
C99 shim for <stdbool.h>
VALUE
uintptr_t VALUE
Type that represents a Ruby object.
Definition value.h:40