summaryrefslogtreecommitdiff
path: root/chess-phalanx.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-11 00:28:40 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-11 00:28:40 +0000
commitda4dceb58f252519caae28e3b2e049a5bd74c098 (patch)
tree303ee6de672d0c1ff4a4b21bfc0f9aa3eb36843f /chess-phalanx.el
parent54ec8abc770314b97bace34ec48a158828d07ab2 (diff)
*** no comment ***
Diffstat (limited to 'chess-phalanx.el')
-rw-r--r--chess-phalanx.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/chess-phalanx.el b/chess-phalanx.el
index 417fa41..7b902a4 100644
--- a/chess-phalanx.el
+++ b/chess-phalanx.el
@@ -19,12 +19,11 @@
(defvar chess-phalanx-regexp-alist
(list
- (cons (concat "my move is \\(P?\\("
- chess-algebraic-regexp "\\)\\)\\s-*$")
+ (cons (concat "my move is P?\\(" chess-algebraic-regexp "\\)\\s-*$")
(function
(lambda ()
(funcall chess-engine-response-handler 'move
- (chess-engine-convert-algebraic (match-string 2))))))
+ (chess-engine-convert-algebraic (match-string 1))))))
(cons "Illegal move:\\s-*\\(.*\\)"
(function
(lambda ()