1 /* We need access to debugger hooks */
6 #define PERL_NO_GET_CONTEXT
11 extern regexp* my_regcomp (pTHX_ char* exp, char* xend, PMOP* pm);
12 extern I32 my_regexec (pTHX_ regexp* prog, char* stringarg, char* strend,
13 char* strbeg, I32 minend, SV* screamer,
14 void* data, U32 flags);
15 extern void my_regfree (pTHX_ struct regexp* r);
16 extern char* my_re_intuit_start (pTHX_ regexp *prog, SV *sv, char *strpos,
17 char *strend, U32 flags,
18 struct re_scream_pos_data_s *data);
19 extern SV* my_re_intuit_string (pTHX_ regexp *prog);
29 PL_regexecp = Perl_regexec_flags;
30 PL_regcompp = Perl_pregcomp;
31 PL_regint_start = Perl_re_intuit_start;
32 PL_regint_string = Perl_re_intuit_string;
33 PL_regfree = Perl_pregfree;
43 PL_colorset = 0; /* Allow reinspection of ENV. */
44 PL_regexecp = &my_regexec;
45 PL_regcompp = &my_regcomp;
46 PL_regint_start = &my_re_intuit_start;
47 PL_regint_string = &my_re_intuit_string;
48 PL_regfree = &my_regfree;
49 oldfl = PL_debug & R_DB;
53 MODULE = re PACKAGE = re