in reply to Re: regex problem
in thread regex problem

would this be useful if the input file had multiple entries of the example line, with other infomration embedded?
# TITLE C 4 B INFO INFO # TITLE A 4 B

Replies are listed 'Best First'.
Re: Re: Re: regex problem
by Plankton (Vicar) on Apr 09, 2004 at 19:32 UTC
    Yes it would ...
    #an example ($title, $letter1, $num, $letter2) = split(/ /,$_) if /^# TITLE/;

    Plankton: 1% Evil, 99% Hot Gas.