#!/bin/env perl use strict; use warnings; use URI qw( ); my $target = "/index.php?prefix=/user/"; my $path = URI->new_abs( '.', $target )->path(); print "$path\n";
In reply to Re^2: How to replace in one regexp
by ikegami
in thread How to replace in one regexp
by appleii
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |