its (?:...) not :?
see (like already mentioned) perlre#Extended-Patterns
Cheers Rolf
(addicted to the Perl Programming Language)
In reply to Re^3: how to extract string by possible groupings?
by LanX
in thread how to extract string by possible groupings?
by adrive
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |