my @excerpts = $fc =~ /(?n:$re2)/g;
From perlre:
- n
- Prevent the grouping metacharacters () from capturing. This modifier, new in 5.22 ...
- tye
In reply to Re: Behavior of /g when there are capture groups (/n)
by tye
in thread Behavior of /g when there are capture groups
by ExReg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |