Type perldoc re at your command prompt for more info.#fine /a (.*) a(.)*(?{push @substrings, $^N}) (?!)/ #not fine: we get part of the regex body from a variable /$regex(?{push @substrings, $^N}) (?!)/ ^^^^^^ this variable interpolation requires that you use re 'eval'
In reply to Re: Re: all matches
by jweed
in thread all matches
by oz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |