Pathologically Eclectic Rubbish Lister | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I think you are confused about how groupings work
each opening bracket starts a grouping. Groupings that don't match will be undef ! You can use extended regex (?:PATTERN) for clustering but not grouping to skip an index
update... or even avoid (...) where you don't need any clustering at all (like in your or-branches).
Cheers Rolf (addicted to the Perl Programming Language) In reply to Re: how to extract string by possible groupings?
by LanX
|
|