in reply to Re: (How) can I use regex patterns to find matching lines in a textfile?
in thread (How) can I use regex patterns to find matching lines in a textfile?

husoft, but "word-to-find" can't contain metacharacters like in the example I posted first, can it? Ritter
  • Comment on Re: Re: (How) can I use regex patterns to find matching lines in a textfile?

Replies are listed 'Best First'.
Re: Re: Re: (How) can I use regex patterns to find matching lines in a textfile?
by husoft (Monk) on Nov 20, 2002 at 12:40 UTC
    You have to type only the word you want to find.
    If you want to be able to make it like the example you posted (with metachars).
    then replace /$ARGV[1]/ for eval($ARGV[1]).
      Just wonderful! thank you so much! and you too John your way works too!

      *so happy*!

      Ritter