From 017f677e7047eaf607c49d7a496ce252def15ba9 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 1 Jun 2009 02:10:27 -0500 Subject: i know how to use regexes, really --- lib/Bot/Games/Game/Ghost.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Bot/Games/Game/Ghost.pm b/lib/Bot/Games/Game/Ghost.pm index 64e742e..f9b3552 100644 --- a/lib/Bot/Games/Game/Ghost.pm +++ b/lib/Bot/Games/Game/Ghost.pm @@ -57,7 +57,7 @@ augment turn => sub { return "You must respond to " . $self->challenger . "'s challenge!" if $self->has_challenger; return "$state isn't a valid move!" - unless $state =~ /a-z/i && $self->valid_move($state); + unless $state =~ /[a-z]/i && $self->valid_move($state); $self->current_player($self->next_player); return $self->state($state); -- cgit v1.2.3-54-g00ecf