in reply to regex probs.
try this syntax, which forces the results of the regex into the proper context through the use of the outermost set of parens : @template = ($xtemplate =~ /(.*?)filename.ext\*{4}/s);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: putting regex results into an array. (boo)
by apprentice (Scribe) on Aug 24, 2001 at 00:24 UTC | |
by apprentice (Scribe) on Aug 24, 2001 at 00:29 UTC |