in reply to all matches
The ?{} construct evaluates perl code inside a regular expression. By default it's off, so you want to do use re 'eval' to turn it on.Eval-group not allowed at runtime, use re 'eval' in regex m/ a(.)*a(?{ +push @substrings, $^N}) (?!) /
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: all matches
by jweed (Chaplain) on Mar 25, 2004 at 05:51 UTC | |
by oz (Novice) on Mar 25, 2004 at 06:58 UTC |