Skip to content

Commit

Permalink
Revert "Regex simplification in CallableResolver"
Browse files Browse the repository at this point in the history
This reverts commit ec1311c.
  • Loading branch information
akrabat committed Nov 26, 2017
1 parent 0e254b4 commit 9758541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Slim/CallableResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
final class CallableResolver implements CallableResolverInterface
{
const CALLABLE_PATTERN = '!\A([^\:]+)\:([^\Z]+)\Z!';
const CALLABLE_PATTERN = '!^([^\:]+)\:([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)$!';

/**
* @var ContainerInterface
Expand Down

0 comments on commit 9758541

Please sign in to comment.