This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add note to debugging output if regex already compiled
authorKarl Williamson <khw@cpan.org>
Thu, 26 Sep 2019 19:14:14 +0000 (13:14 -0600)
committerKarl Williamson <khw@cpan.org>
Fri, 27 Sep 2019 17:20:34 +0000 (11:20 -0600)
commitcac0218b84f9ae47a2369c80f167b508534e0351
tree98d82fb95555f7939694fd841bd7e0511e0df79f
parent7cb9b5f3b2a5b765e3399f08c283a1156931be4e
Add note to debugging output if regex already compiled

Prior to this commit, the debugging output says "Compiling REx foo".
But there was no indication that it was skipped due to the pattern
already being compiled; so that was confusing to people, and was a Stack
Overflow question of what is going on.  Now there's an extra message
that the recompilation is skipped.
regcomp.c