Update scripts to understand minus signs.

This commit is contained in:
vonavi
2015-01-06 00:28:25 +03:00
parent d8cb58fc00
commit 84be9d8f37
2 changed files with 2 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ function show_tour_sequence {
function output_tour_info {
local date_re="([0-9?]{2})\.([0-9?]{2})\.([0-9?]{4})"
local score_re="(1|½|0|\+|-)"
local score_re="(1|½|0|\+|)"
local res_re="${score_re}-${score_re}"
local tour_num= date_beg= date_end=
local white= black= result= game_date=