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
just illustration
How to manage m contains all matched kv correctly clean from matched recursive ?@m='lkjkljkjlkhkjkfjkfkvklkv'=~/^\w*(kl(?1)\w*).*?(kv)/g;
Back to
Seekers of Perl Wisdom