in reply to Re: all matches
in thread all matches
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'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: all matches
by oz (Novice) on Mar 25, 2004 at 06:58 UTC |