Coyo has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (regular expressions)
bash-2.02$ perl $formula = $bit = '(4+5)'; if( $formula =~ /$bit/ ) { print "yeah\n"; } else { print "Oh no!\n"; } ^D Oh no!
Originally posted as a Categorized Question.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I escape metacharacters in a user-defined string?⭐
by Ovid (Cardinal) on Jul 08, 2000 at 02:18 UTC | |
|
Re: How do I escape metacharacters in a user-defined string?
by Perlmage (Acolyte) on Jul 11, 2000 at 10:11 UTC |