Ruby: internal/re.h Source File

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

re.h
Go to the documentation of this file.
1#ifndef INTERNAL_RE_H /*-*-C-*-vi:se ft=c:*/
2#define INTERNAL_RE_H
12#include "ruby/internal/stdbool.h" /* for bool */
13#include "ruby/ruby.h" /* for VALUE */
14
15/* re.c */
16 VALUE rb_reg_compile(VALUE str, int options, const char *sourcefile, int sourceline);
17 VALUE rb_reg_check_preprocess(VALUE);
18long rb_reg_search0(VALUE, VALUE, long, int, int);
19 VALUE rb_reg_match_p(VALUE re, VALUE str, long pos);
20bool rb_reg_start_with_p(VALUE re, VALUE str);
21void rb_backref_set_string(VALUE string, long pos, long len);
22void rb_match_unbusy(VALUE);
23int rb_match_count(VALUE match);
24int rb_match_nth_defined(int nth, VALUE match);
25 MJIT_SYMBOL_EXPORT_BEGIN
26 VALUE rb_reg_new_ary(VALUE ary, int options);
27 MJIT_SYMBOL_EXPORT_END
28
29#endif /* INTERNAL_RE_H */
MJIT_SYMBOL_EXPORT_END
#define MJIT_SYMBOL_EXPORT_END
Definition: dllexport.h:63
MJIT_SYMBOL_EXPORT_BEGIN
#define MJIT_SYMBOL_EXPORT_BEGIN
Definition: dllexport.h:62
len
uint8_t len
Definition: escape.c:17
str
char str[HTML_ESCAPE_MAX_LEN+1]
Definition: escape.c:18
match
unsigned char match[65280+2]
Definition: gun.c:165
rb_backref_set_string
void rb_backref_set_string(VALUE string, long pos, long len)
Definition: re.c:1358
rb_reg_check_preprocess
VALUE rb_reg_check_preprocess(VALUE)
Definition: re.c:2718
rb_reg_search0
long rb_reg_search0(VALUE, VALUE, long, int, int)
Definition: re.c:1622
rb_reg_match_p
VALUE rb_reg_match_p(VALUE re, VALUE str, long pos)
Definition: re.c:3353
rb_reg_start_with_p
bool rb_reg_start_with_p(VALUE re, VALUE str)
Definition: re.c:1634
rb_match_nth_defined
int rb_match_nth_defined(int nth, VALUE match)
Definition: re.c:1327
rb_reg_compile
VALUE rb_reg_compile(VALUE str, int options, const char *sourcefile, int sourceline)
Definition: re.c:2966
rb_match_count
int rb_match_count(VALUE match)
Definition: re.c:1317
rb_reg_new_ary
VALUE rb_reg_new_ary(VALUE ary, int options)
Definition: re.c:2938
rb_match_unbusy
void rb_match_unbusy(VALUE)
Definition: re.c:1311
ruby.h
stdbool.h
C99 shim for <stdbool.h>
VALUE
unsigned long VALUE
Definition: value.h:38