Ruby
4.1.0dev (2026-04-17 revision 11e3c78b61da705c783dd12fb7f158c0d256ede0)
internal
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_s_alloc(
VALUE
klass);
16
VALUE
rb_reg_compile(
VALUE
str,
int
options,
const
char
*sourcefile,
int
sourceline);
17
VALUE
rb_reg_check_preprocess(
VALUE
);
18
long
rb_reg_search0(
VALUE
,
VALUE
,
long
,
int
,
int
,
VALUE
*);
19
VALUE
rb_reg_match_p(
VALUE
re,
VALUE
str,
long
pos);
20
bool
rb_reg_start_with_p(
VALUE
re,
VALUE
str);
21
VALUE
rb_reg_hash(
VALUE
re);
22
VALUE
rb_reg_equal(
VALUE
re1,
VALUE
re2);
23
VALUE
rb_backref_set_string(
VALUE
string
,
long
pos,
long
len
);
24
void
rb_match_unbusy(
VALUE
);
25
int
rb_match_count(
VALUE
match);
26
VALUE
rb_reg_new_ary(
VALUE
ary,
int
options);
27
VALUE
rb_reg_last_defined(
VALUE
match);
28
29
#define ARG_REG_OPTION_MASK \
30
(ONIG_OPTION_IGNORECASE|ONIG_OPTION_MULTILINE|ONIG_OPTION_EXTEND)
31
#define ARG_ENCODING_FIXED 16
32
#define ARG_ENCODING_NONE 32
33
34
#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
Generated by
1.9.8