push @match, $self->_parse_spec_section($spec)
or $self->_blam("Unable to work out what the next section is");
last PARSE if (pos == length);
- /\G\s+/gc or $self->_blam('Spec sections not space separated');
+ /\G\+/gc or $self->_blam('Spec sections must be separated by +');
} until (pos == length) }; # accept trailing whitespace
return $match[0] if (@match == 1);
return sub {
'/post/one/ does not match'
);
-my $combi = $dp->parse_dispatch_specification('GET /post/*');
+my $combi = $dp->parse_dispatch_specification('GET+/post/*');
is_deeply(
[ $combi->({ PATH_INFO => '/post/one', REQUEST_METHOD => 'GET' }) ],