mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
convert.
This commit is contained in:
parent
7d091f42ab
commit
9879147ee0
1 changed files with 3 additions and 2 deletions
|
@ -879,8 +879,9 @@ class FreeCellSolver_Hint(Base_Solver_Hint):
|
||||||
if str_ != '-':
|
if str_ != '-':
|
||||||
put_str(game.reserves[i], str_)
|
put_str(game.reserves[i], str_)
|
||||||
continue
|
continue
|
||||||
g = re.findall(r'\b(' + CARD_RE + r')\b', line)
|
m = re.match(r'^:?\s*(.*)', line)
|
||||||
for str_ in g:
|
assert m
|
||||||
|
for str_ in my_find_re(r'(' + CARD_RE + r')', m):
|
||||||
put_str(game.rows[stack_idx], str_)
|
put_str(game.rows[stack_idx], str_)
|
||||||
|
|
||||||
stack_idx += 1
|
stack_idx += 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue