Maclir has asked for the wisdom of the Perl Monks concerning the following question:
and there may be a trailing "&" to separate the next parm.. . . frame=some_name . . .
to look for the string starting with "frame=", followed by any number of "word" characters, then optionally an ampersand.$print_link = $ENV{'REQUEST_URI'} ; $print_link =~ s/frame=[\w*]&*//;
I get. . .&frame=content
What have I done wrong?. . .&ontent
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regexp problem
by chromatic (Archbishop) on Apr 18, 2000 at 08:23 UTC | |
by btrott (Parson) on Apr 18, 2000 at 21:39 UTC | |
by chromatic (Archbishop) on Apr 18, 2000 at 22:33 UTC | |
by Maclir (Curate) on Apr 19, 2000 at 01:39 UTC |