print "$1-$2-$+{third}\n" if m/ (\w+)\s (\w+)\s (?: "(?<third>[^"]+)" | (?<third>\w+)) /x;
In reply to Re: Nested grouping or capturing inside capturing
by remiah
in thread Nested grouping or capturing inside capturing
by eddor1614
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |