in reply to Re: Re: Fiddling around with reg-ex
in thread Fiddling around with reg-ex

Then what you want is:
if ($columns[0] =~ /"\/home"/) { take an action; }
and so forth. This assumes you really want the quotes in the string; if you don't, just remove them from the regex.

Replies are listed 'Best First'.
Re: Re: Re: Re: Fiddling around with reg-ex
by JoeJaz (Monk) on Jun 25, 2003 at 14:17 UTC
    This syntax worked well. It is exactly what I am looking for. Thank you very much.