in reply to Re: Regex help
in thread Regex help

The /g modifier doesn't return anything, nor does a pattern match return an array. The /g modifier makes a regex match globally, so that a pattern match in list context returns a LIST of all matches (either the match itself or the $DIGIT variables). In scalar context, you can step through the matches one at a time.

_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker, who'd like a job (NYC-area)
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;