Last active
August 29, 2015 14:04
-
-
Save kraih/d98457537a07a46e753f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ perl5.16 -Mre=debug -E 'my $x = "y"; "y" =~ /z$x/ for 1 .. 2' | |
Compiling REx "zy" | |
Final program: | |
1: EXACT <zy> (3) | |
3: END (0) | |
anchored "zy" at 0 (checking anchored isall) minlen 2 | |
Freeing REx: "zy" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ perl5.20 -Mre=debug -E 'my $x = "y"; "y" =~ /z$x/o for 1 .. 2' | |
Compiling REx "zy" | |
Final program: | |
1: EXACT <zy> (3) | |
3: END (0) | |
anchored "zy" at 0 (checking anchored isall) minlen 2 | |
Freeing REx: "zy" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ perl5.20 -Mre=debug -E 'my $x = "y"; "y" =~ /z$x/ for 1 .. 2' | |
Compiling REx "zy" | |
Final program: | |
1: EXACT <zy> (3) | |
3: END (0) | |
anchored "zy" at 0 (checking anchored isall) minlen 2 | |
Compiling REx "zy" | |
Freeing REx: "zy" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@rurban is right, a full recompilation looks a little different and is quite a bit slower.