summaryrefslogtreecommitdiff
path: root/tdd
diff options
context:
space:
mode:
Diffstat (limited to 'tdd')
-rw-r--r--tdd/tdd-bootstrap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdd/tdd-bootstrap.php b/tdd/tdd-bootstrap.php
index f22cd8e..59abdb6 100644
--- a/tdd/tdd-bootstrap.php
+++ b/tdd/tdd-bootstrap.php
@@ -177,7 +177,7 @@ function load_deals_for_tables($prefix, $round, $board_in_teamy) {
$deals_by_tables = array();
$prefix = preg_quote($prefix);
- $filename_regex = "/$prefix-r$round-t(\d+)-b(\d+).pbn/";
+ $filename_regex = "/^$prefix-r$round-t(\d+)-b(\d+).pbn$/";
foreach(scandir('.') as $filename) {
if(preg_match($filename_regex, $filename, $match)) {
$file_table = $match[1];