http://qs321.pair.com?node_id=11139211

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

How regex match must not capture recursive group used and required inside when collecting all the matched captured groups?
just illustration
@m='lkjkljkjlkhkjkfjkfkvklkv'=~/^\w*(kl(?1)\w*).*?(kv)/g;
How to manage m contains all matched kv correctly clean from matched recursive ?