blob: 5bed5d16c8a855e224a419d88702683f437e7ed4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/*
** re.h - Regexp class
**
** See Copyright Notice in mruby.h
*/
#ifndef RE_H
#define RE_H
//#include <sys/types.h>
#include <stdio.h>
#include "node.h"
#include "st.h"
/* mattn
struct RMatch {
MRB_OBJECT_HEADER;
struct RString *str;
struct rmatch *rmatch;
struct RRegexp *regexp;
};
struct RRegexp {
MRB_OBJECT_HEADER;
struct re_pattern_buffer *ptr;
struct RString *src;
unsigned long usecnt;
};
*/
#endif
|