typedef struct replug {
/* Pointer back to the containing regexp struct so that accessors
- * can modify nparens, gofs etc. */
+ * can modify nparens, gofs, etc... */
struct regexp *rx;
/* A copy of the pattern given to comp, for ->pattern */
rx->precomp = savepvn(pbuf, rx->prelen);
/* Set up qr// stringification to be equivalent to the supplied
- * pattern, this should be done via overload eventually.
- */
+ * pattern, this should be done via overload eventually */
rx->wraplen = rx->prelen;
Newx(rx->wrapped, rx->wraplen, char);
Copy(rx->precomp, rx->wrapped, rx->wraplen, char);
re->pattern = (SV *) pattern;
SvREFCNT_inc_simple_void(re->pattern);
- /* If there's an exec callback, store it into the private object so
- * that it will be the one to be called, even if the engine changes
- * in between */
+ /* If there's an exec callback, store it into the private object so that it
+ * will be the one to be called, even if the engine changes in between */
if (h->exec) {
re->cb_exec = h->exec;
SvREFCNT_inc_simple_void_NN(h->exec);
re->cb_num_capture_buff_STORE = NULL;
re->cb_num_capture_buff_LENGTH = NULL;
- /* Call our callback function if one was defined, if not we've
- * already set up all the stuff we're going to to need for
- * subsequent exec and other calls */
+ /* Call our callback function if one was defined, if not we've already set up
+ * all the stuff we're going to to need for subsequent exec and other calls */
if (h->comp) {
ENTER;
SAVETMPS;
}
/* If any of the comp-time accessors were called we'll have to
- * update the regexp struct with the new info.
- */
+ * update the regexp struct with the new info */
Newxz(rx->offs, rx->nparens + 1, regexp_paren_pair);
return RX;