Permalink
Browse files

- Fix #95.

  • Loading branch information...
1 parent ac4521f commit 10b059f0f73ceecb023886f3d37b9a6c163d7231 @sebastianbergmann committed Feb 10, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 PHPUnit/TextUI/Command.php
@@ -198,7 +198,7 @@ protected static function handleArguments()
break;
case '--filter': {
- if (preg_match('/[a-zA-Z0-9_]/', $option[1])) {
+ if (preg_match('/^[a-zA-Z0-9_]/', $option[1])) {
$arguments['filter'] = '/^' . $option[1] . '$/';
} else {
$arguments['filter'] = $option[1];

0 comments on commit 10b059f

Please sign in to comment.