This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Break out setting $^X into its own static function S_set_caret_X
[perl5.git] / regexec.c
index fd3bc05..6a7f064 100644 (file)
--- a/regexec.c
+++ b/regexec.c
@@ -8,6 +8,12 @@
 /* This file contains functions for executing a regular expression.  See
  * also regcomp.c which funnily enough, contains functions for compiling
  * a regular expression.
+ *
+ * This file is also copied at build time to ext/re/re_exec.c, where
+ * it's built with -DPERL_EXT_RE_BUILD -DPERL_EXT_RE_DEBUG -DPERL_EXT.
+ * This causes the main functions to be compiled under new names and with
+ * debugging support added, which makes "use re 'debug'" work.
  */
 
 /* NOTE: this is derived from Henry Spencer's regexp code, and should not