Line | |
---|
1 | /**********************************************************************
|
---|
2 |
|
---|
3 | re.h -
|
---|
4 |
|
---|
5 | $Author: shyouhei $
|
---|
6 | $Date: 2007-02-13 08:01:19 +0900 (Tue, 13 Feb 2007) $
|
---|
7 | created at: Thu Sep 30 14:18:32 JST 1993
|
---|
8 |
|
---|
9 | Copyright (C) 1993-2003 Yukihiro Matsumoto
|
---|
10 |
|
---|
11 | **********************************************************************/
|
---|
12 |
|
---|
13 | #ifndef RE_H
|
---|
14 | #define RE_H
|
---|
15 |
|
---|
16 | #include <sys/types.h>
|
---|
17 | #include <stdio.h>
|
---|
18 |
|
---|
19 | #include "regex.h"
|
---|
20 |
|
---|
21 | typedef struct re_pattern_buffer Regexp;
|
---|
22 |
|
---|
23 | struct RMatch {
|
---|
24 | struct RBasic basic;
|
---|
25 | VALUE str;
|
---|
26 | struct re_registers *regs;
|
---|
27 | };
|
---|
28 |
|
---|
29 | #define RMATCH(obj) (R_CAST(RMatch)(obj))
|
---|
30 |
|
---|
31 | VALUE rb_reg_regcomp _((VALUE));
|
---|
32 | long rb_reg_search _((VALUE, VALUE, long, long));
|
---|
33 | VALUE rb_reg_regsub _((VALUE, VALUE, struct re_registers *));
|
---|
34 | long rb_reg_adjust_startpos _((VALUE, VALUE, long, long));
|
---|
35 | void rb_match_busy _((VALUE));
|
---|
36 | VALUE rb_reg_quote _((VALUE));
|
---|
37 |
|
---|
38 | RUBY_EXTERN int ruby_ignorecase;
|
---|
39 |
|
---|
40 | int rb_reg_mbclen2 _((unsigned int, VALUE));
|
---|
41 | #define mbclen2(c,re) rb_reg_mbclen2((c),(re))
|
---|
42 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.