in reply to Re^2: is perl's regular expression engine reentrant ? (works)
in thread is perl's regular expression engine reentrant ?
I suppose you are saying that reentrancy is only an issue with ?{code} and ??{code} constructs.
This is in fact an issue. The following one-liner will segfault (with perl 5.8.8):
perl -we '"_" =~ m{(??{"_" =~ /./})}'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: is perl's regular expression engine reentrant ? (works)
by grinder (Bishop) on Apr 27, 2007 at 09:58 UTC | |
|
Re^4: is perl's regular expression engine reentrant ? (works)
by plank (Novice) on Apr 27, 2007 at 08:13 UTC |