|Syntactic Confectionery Delight|
Re: how to extract string by possible groupings?by LanX (Archbishop)
|on Jun 02, 2014 at 14:40 UTC||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
... or even avoid (...) where you don't need any clustering at all (like in your or-branches).
(addicted to the Perl Programming Language)