X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fre-engine-Hooks.git;a=blobdiff_plain;f=src%2Fupdate.pl;h=e7fe628cf087fd93efb56a05bb5be044ec1e9263;hp=97a60b6794d6f93f9142ea1108bc5b67ccd1b2da;hb=f609ee10b4b981c6c131936a39d13108d608a4fc;hpb=21c1861888f69168d6ade4690b79b806752f56d8 diff --git a/src/update.pl b/src/update.pl index 97a60b6..e7fe628 100644 --- a/src/update.pl +++ b/src/update.pl @@ -246,6 +246,9 @@ sub patch_regcomp { } elsif ($line =~ /end node insert/) { push @{$patched_chunks{$file}}, 'COMP_NODE_HOOK'; return $line, " REH_CALL_COMP_NODE_HOOK(pRExC_state->rx, convert);\n"; + } elsif ($line =~ /&PL_core_reg_engine/) { + $line =~ s/&PL_core_reg_engine\b/&reh_regexp_engine/g; + return $line; } return $line;