Skip to content

Commit 71af0cf

Browse files
committed
Merge branch 'juanpagfe-regex-simplification-3x' into 3.x
Closes #2342 Fixes #1960
2 parents 477b00d + ec1311c commit 71af0cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Slim/CallableResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
final class CallableResolver implements CallableResolverInterface
2020
{
21-
const CALLABLE_PATTERN = '!^([^\:]+)\:([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)$!';
21+
const CALLABLE_PATTERN = '!\A([^\:]+)\:([^\Z]+)\Z!';
2222

2323
/**
2424
* @var ContainerInterface

0 commit comments

Comments
 (0)