my ($self) = @_;
for ($_[1]) {
# trailing / -> require / on end of URL
- /\G(?:(?=\s)|$)/gc and
+ /\G(?:(?=[+|\)])|$)/gc and
return '$';
# word chars only -> exact path part match
/\G(\w+)/gc and
} else {
# @foo= or foo= or @foo~ or foo~
-
+
/\G(\w+)/gc or $self->_blam('Expected parameter name');
my $name = $1;