in reply to How do I extract named variable names from regex string

Hi,
I'm not sure whether you are searching for something like that.
my $string = 'yourregex here'; while($string =~ m/\(\?\<([a-zA-Z0-9]+)\>/g) { print $1, "\n"; }
Best regards
Andreas