blob: 1db1ec34cc76bf957526dfd76f4ea8b5eeb9f9e2 (
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
33
34
35
36
37
|
/************************************************
re.h -
$Author: matz $
$Revision: 1.2 $
$Date: 1994/08/12 04:47:52 $
created at: Thu Sep 30 14:18:32 JST 1993
Copyright (C) 1993-1995 Yukihiro Matsumoto
************************************************/
#ifndef RE_H
#define RE_H
#include <sys/types.h>
#include <stdio.h>
#include "regex.h"
typedef struct re_pattern_buffer Regexp;
struct match {
UINT len;
char *ptr;
struct re_registers regs;
};
extern struct match last_match;
#define BEG(no) last_match.regs.beg[no]
#define END(no) last_match.regs.end[no]
VALUE re_regcomp();
VALUE re_regsub();
#endif
|