1 #ifndef INTERNAL_RE_H /*-*-C-*-vi:se ft=c:*/
4 * @author Ruby developers <ruby-core@ruby-lang.org>
5 * @copyright This file is a part of the programming language Ruby.
6 * Permission is hereby granted, to either redistribute and/or
7 * modify this file, provided that the conditions mentioned in the
8 * file COPYING are met. Consult the file for details.
9 * @brief Internal header for Regexp.
11 #include "ruby/internal/stdbool.h" /* for bool */
12 #include "ruby/ruby.h" /* for VALUE */
15 VALUE
rb_reg_compile(VALUE str
, int options
, const char *sourcefile
, int sourceline
);
16 VALUE
rb_reg_check_preprocess(VALUE
);
17 long rb_reg_search0(VALUE
, VALUE
, long, int, int, VALUE
*);
18 VALUE
rb_reg_match_p(VALUE re
, VALUE str
, long pos
);
19 bool 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
);
22 VALUE
rb_backref_set_string(VALUE string
, long pos
, long len
);
23 void rb_match_unbusy(VALUE
);
24 int rb_match_count(VALUE match
);
25 VALUE
rb_reg_new_ary(VALUE ary
, int options
);
26 VALUE
rb_reg_last_defined(VALUE match
);
28 #endif /* INTERNAL_RE_H */