1 From: Mark Baker <mark@mnb.org.uk>
2 Description: Include old interface to RE::Init() for PCRE 6.x compatibility
7 // If the user doesn't ask for any options, we just use this one
8 static RE_Options default_options;
10 +// PCRE6.x compatible API
11 +void RE::Init(const char *c_pat, const RE_Options* options) {
12 + const string cxx_pat(c_pat);
13 + Init(cxx_pat, options);
16 void RE::Init(const string& pat, const RE_Options* options) {
18 if (options == NULL) {
24 void Init(const string& pattern, const RE_Options* options);
25 + // Old version from PCRE 6.x, for compatibility
26 + void Init(const char *pattern, const RE_Options* options);
29 // Match against "text", filling in "vec" (up to "vecsize" * 2/3) with
37 +long int options = 0;
38 int study_options = 0;
39 int default_find_match_limit = FALSE;
40 pcre_uint32 default_options = 0;