The R Project SVN R

Rev

Rev 65105 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 65105 Rev 65106
Line 135... Line 135...
135
 
135
 
136
extern int
136
extern int
137
tre_regexec(const regex_t *preg, const char *string, size_t nmatch,
137
tre_regexec(const regex_t *preg, const char *string, size_t nmatch,
138
	    regmatch_t pmatch[], int eflags);
138
	    regmatch_t pmatch[], int eflags);
139
 
139
 
140
extern size_t
-
 
141
tre_regerror(int errcode, const regex_t *preg, char *errbuf,
-
 
142
	     size_t errbuf_size);
-
 
143
 
-
 
144
extern void
-
 
145
tre_regfree(regex_t *preg);
-
 
146
 
-
 
147
/* R additions */
-
 
148
extern int
140
extern int
149
tre_regcompb(regex_t *preg, const char *regex, int cflags);
141
tre_regcompb(regex_t *preg, const char *regex, int cflags);
150
 
142
 
151
extern int
143
extern int
152
tre_regexecb(const regex_t *preg, const char *string, size_t nmatch,
144
tre_regexecb(const regex_t *preg, const char *string, size_t nmatch,
153
	     regmatch_t pmatch[], int eflags);
145
	     regmatch_t pmatch[], int eflags);
154
 
146
 
-
 
147
extern size_t
-
 
148
tre_regerror(int errcode, const regex_t *preg, char *errbuf,
-
 
149
	     size_t errbuf_size);
-
 
150
 
-
 
151
extern void
-
 
152
tre_regfree(regex_t *preg);
-
 
153
 
155
#ifdef TRE_WCHAR
154
#ifdef TRE_WCHAR
156
#ifdef HAVE_WCHAR_H
155
#ifdef HAVE_WCHAR_H
157
#include <wchar.h>
156
#include <wchar.h>
158
#endif /* HAVE_WCHAR_H */
157
#endif /* HAVE_WCHAR_H */
159
 
158
 
Line 221... Line 220...
221
/* Approximate matching functions. */
220
/* Approximate matching functions. */
222
extern int
221
extern int
223
tre_regaexec(const regex_t *preg, const char *string,
222
tre_regaexec(const regex_t *preg, const char *string,
224
	     regamatch_t *match, regaparams_t params, int eflags);
223
	     regamatch_t *match, regaparams_t params, int eflags);
225
 
224
 
226
/* R addition */
225
extern int
-
 
226
tre_reganexec(const regex_t *preg, const char *string, size_t len,
-
 
227
	      regamatch_t *match, regaparams_t params, int eflags);
-
 
228
 
227
extern int
229
extern int
228
tre_regaexecb(const regex_t *preg, const char *string,
230
tre_regaexecb(const regex_t *preg, const char *string,
229
	      regamatch_t *match, regaparams_t params, int eflags);
231
	      regamatch_t *match, regaparams_t params, int eflags);
230
 
232
 
231
extern int
233
extern int