in reply to Re: Question on evaulating a user built regex
in thread Question on evaulating a user built regex

I'm letting the user build the expression, including the regex operator so I need a way for the string to be evaluated at runtime as a regex.
  • Comment on Re: Re: Question on evaulating a user built regex

Replies are listed 'Best First'.
Re: Re: Re: Question on evaulating a user built regex
by BrentDax (Hermit) on Apr 22, 2002 at 21:21 UTC
    Then you'll want eval "\$user_text =~ $regex".

    =cut
    --Brent Dax
    There is no sig.