in reply to How to replace in one regexp
#$path =~ s{\?.*$}{}; #$path =~ s{[^/]+$}{}; $path =~ s{[^/\?]*(\?.*)?$}{};
|
---|
In Section
Seekers of Perl Wisdom
in reply to How to replace in one regexp
#$path =~ s{\?.*$}{}; #$path =~ s{[^/]+$}{}; $path =~ s{[^/\?]*(\?.*)?$}{};
|
---|