in reply to Re: conditional match in regex
in thread conditional match in regex
This also seems to work (at least in perl 5.6.1):
  p
/ ^ ( [\$%@*] | (<) ) ( .* ) (? (2) > ) # ( (2) stands for $2 (the (<) above)) $ /x;
  p
In Section
Seekers of Perl Wisdom