Hello. While ramblering in Perl's regexp source I've noticed that (?{...}) construction is parsed in regcomp.c in too simplified way. So following mis-feature exists: perl -e '/(?{print "Hello"})/' prints Hello perl -e '/(?{print "Hello{}"})/' prints Hello{} BUT perl -e '/(?{print "Hello{"})/' explains: Sequence (?{...}) not terminated or not {}-balanced at -e line 1, within pattern /(?{print "Hello{"})/: Sequence (?{...}) not terminated or not {}-balanced at -e line 1. I know, it is a very experimental feature, but anyway, parsing need to be more complicated in this case. Good luck, Vadim.Thread Next