pando has asked for the wisdom of the Perl Monks concerning the following question:
I get an error:$substr="libstdc++" $string="compat-libstdc++.so.6" print "Found" if ( $string =~ /$substr/ );
Nested quantifiers in regex; marked by <-- HERE in m/compat-libstdc++ +<-- HERE }/ at
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Storing regexps in variables
by davorg (Chancellor) on Mar 16, 2007 at 12:53 UTC | |
|
Re: Storing regexps in variables
by Util (Priest) on Mar 16, 2007 at 13:21 UTC | |
|
Re: Storing regexps in variables
by andye (Curate) on Mar 16, 2007 at 12:52 UTC | |
|
Re: Storing regexps in variables
by pando (Initiate) on Mar 16, 2007 at 20:42 UTC |