summaryrefslogtreecommitdiff
path: root/chess-ics.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-ics.el')
-rw-r--r--chess-ics.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/chess-ics.el b/chess-ics.el
index 5a830d6..6ef3a8c 100644
--- a/chess-ics.el
+++ b/chess-ics.el
@@ -187,7 +187,7 @@ who is black."
t))
(defvar chess-ics-regexp-alist
- (list (cons "^[^% \r\n]+% "
+ (list (cons "^[^% \t\n\r]+%"
(function
(lambda ()
(chess-engine-send nil "set style 12\n")
@@ -198,7 +198,7 @@ who is black."
(lambda ()
(setq chess-ics-handle (match-string 1))
'once)))
- (cons "\\(\\([ \t\n\r]*[A-Za-z0-9_]+%[ \t\n\r]*\\)?<12> \\(.+\\)\\)\n"
+ (cons "<12> \\(.+\\)"
'chess-ics-handle-move)
(cons "Challenge: \\(\\S-+\\) \\S-+ \\S-+ \\S-+ .+"
(function