Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RegEx - Accessing a variable inside a RegEx function call #51

Open
atoomic opened this issue Jul 17, 2017 · 0 comments
Open

RegEx - Accessing a variable inside a RegEx function call #51

atoomic opened this issue Jul 17, 2017 · 0 comments

Comments

@atoomic
Copy link
Collaborator

atoomic commented Jul 17, 2017

my $s="toto"; 
$s =~ qr/to(?{ print "AA$s";})/;

This only returns AA when compiling with static_hv branch (HEAD=a50dded3cd477f5246d2c8008d6835107bbad727)
the expected output is AAtoto

We are probably no pointing to the main pad somewhere

atoomic added a commit that referenced this issue Jul 17, 2017
atoomic added a commit that referenced this issue Jul 17, 2017
atoomic added a commit that referenced this issue Jul 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants