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
variable self reference in regexp my $x = / $x / causes maximum recursion depth exceeded #2428
Comments
From @bbkr[17:30] <bbkr_> std: my $x = / $x /; # hmm [17:31] <TimToady> niecza: my $x = / $x /; "" ~~ $x; # kabooom? |
From @pmichaudNot a bug. Writing my $x = / $x / is roughly equivalent to writing something like my $y = -> { $y() } and then executing $y(). You're pretty much guaranteed to get an Pm |
1 similar comment
From @pmichaudNot a bug. Writing my $x = / $x / is roughly equivalent to writing something like my $y = -> { $y() } and then executing $y(). You're pretty much guaranteed to get an Pm |
@pmichaud - Status changed from 'new' to 'rejected' |
Migrated from rt.perl.org#90456 (status was 'rejected')
Searchable as RT90456$
The text was updated successfully, but these errors were encountered: