[Chicago-talk] Regex question
Andy Lester
andy at petdance.com
Sat Mar 19 07:57:39 PST 2005
> Is there a way to tell a regex to only search & replace between a
> certain match? Is there a name for this function that I may read
> about?
Yes, look for the "flip-flop" operator, where it's roughly
if ( /regex1/../regex2/ ) {
# do something
}
It's taken directly from Awk.
xao
--
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance
More information about the Chicago-talk
mailing list