Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/smanonr..../opt/alt/ruby27/include/ruby
File: re.h
/**********************************************************************
[0] Fix | Delete
[1] Fix | Delete
re.h -
[2] Fix | Delete
[3] Fix | Delete
$Author$
[4] Fix | Delete
created at: Thu Sep 30 14:18:32 JST 1993
[5] Fix | Delete
[6] Fix | Delete
Copyright (C) 1993-2007 Yukihiro Matsumoto
[7] Fix | Delete
[8] Fix | Delete
**********************************************************************/
[9] Fix | Delete
[10] Fix | Delete
#ifndef RUBY_RE_H
[11] Fix | Delete
#define RUBY_RE_H 1
[12] Fix | Delete
[13] Fix | Delete
#if defined(__cplusplus)
[14] Fix | Delete
extern "C" {
[15] Fix | Delete
#if 0
[16] Fix | Delete
} /* satisfy cc-mode */
[17] Fix | Delete
#endif
[18] Fix | Delete
#endif
[19] Fix | Delete
[20] Fix | Delete
#include <sys/types.h>
[21] Fix | Delete
#include <stdio.h>
[22] Fix | Delete
[23] Fix | Delete
#include "ruby/regex.h"
[24] Fix | Delete
[25] Fix | Delete
RUBY_SYMBOL_EXPORT_BEGIN
[26] Fix | Delete
[27] Fix | Delete
typedef struct re_pattern_buffer Regexp;
[28] Fix | Delete
[29] Fix | Delete
struct rmatch_offset {
[30] Fix | Delete
long beg;
[31] Fix | Delete
long end;
[32] Fix | Delete
};
[33] Fix | Delete
[34] Fix | Delete
struct rmatch {
[35] Fix | Delete
struct re_registers regs;
[36] Fix | Delete
[37] Fix | Delete
struct rmatch_offset *char_offset;
[38] Fix | Delete
int char_offset_num_allocated;
[39] Fix | Delete
};
[40] Fix | Delete
[41] Fix | Delete
struct RMatch {
[42] Fix | Delete
struct RBasic basic;
[43] Fix | Delete
VALUE str;
[44] Fix | Delete
struct rmatch *rmatch;
[45] Fix | Delete
VALUE regexp; /* RRegexp */
[46] Fix | Delete
};
[47] Fix | Delete
[48] Fix | Delete
#define RMATCH(obj) (R_CAST(RMatch)(obj))
[49] Fix | Delete
#define RMATCH_REGS(obj) (&(R_CAST(RMatch)(obj))->rmatch->regs)
[50] Fix | Delete
[51] Fix | Delete
VALUE rb_reg_regcomp(VALUE);
[52] Fix | Delete
long rb_reg_search(VALUE, VALUE, long, int);
[53] Fix | Delete
VALUE rb_reg_regsub(VALUE, VALUE, struct re_registers *, VALUE);
[54] Fix | Delete
long rb_reg_adjust_startpos(VALUE, VALUE, long, int);
[55] Fix | Delete
void rb_match_busy(VALUE);
[56] Fix | Delete
VALUE rb_reg_quote(VALUE);
[57] Fix | Delete
regex_t *rb_reg_prepare_re(VALUE re, VALUE str);
[58] Fix | Delete
int rb_reg_region_copy(struct re_registers *, const struct re_registers *);
[59] Fix | Delete
[60] Fix | Delete
RUBY_SYMBOL_EXPORT_END
[61] Fix | Delete
[62] Fix | Delete
#if defined(__cplusplus)
[63] Fix | Delete
#if 0
[64] Fix | Delete
{ /* satisfy cc-mode */
[65] Fix | Delete
#endif
[66] Fix | Delete
} /* extern "C" { */
[67] Fix | Delete
#endif
[68] Fix | Delete
[69] Fix | Delete
#endif /* RUBY_RE_H */
[70] Fix | Delete
[71] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function