in reply to Re: Two-dimensional match/regex?
in thread Two-dimensional match/regex?
But, I could find the first line and then generate
a multi-line regex with the rest of the search string, using /m as you suggest: something like
/^.{$pos}$string1.*\n^.{$pos}$string2.*/m
to make it search only at the right position...
(Apologies for dodgy regex, not tested and probably wrong).
thanks for the tip, I should have thought of that already!
Cheerio!
Osfameron
http://osfameron.perlmonk.org/chickenman/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Two-dimensional match/regex?
by rsteinke (Scribe) on May 23, 2002 at 05:31 UTC |