in reply to [perlre] grouping parenthesis capture whole string instead of proper subset... why?

if($setstr =~ /(.*)\|\|$/) { ... }

works for me ;)

  • Comment on Re: [perlre] grouping parenthesis capture whole string instead of proper subset... why?
  • Download Code