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);
In reply to putting regex results into an array. (boo)
by boo_radley
in thread regex probs.
by maddfisherman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |