From a19f0b5dda375ab2065f6aee88c0d25286896d20 Mon Sep 17 00:00:00 2001
From: Roderik Ploszek <roderik.ploszek@gmail.com>
Date: Sat, 24 Feb 2018 21:10:43 +0100
Subject: [PATCH] Normalize newline characters for Windows

---
 pysollib/hint.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pysollib/hint.py b/pysollib/hint.py
index 5856dc86..ae0bef80 100644
--- a/pysollib/hint.py
+++ b/pysollib/hint.py
@@ -1150,7 +1150,7 @@ class BlackHoleSolver_Hint(Base_Solver_Hint):
             if DEBUG >= 5:
                 print(s)
 
-            m = re.search('^(Intractable!|Unsolved!|Solved!)\n', s)
+            m = re.search('^(Intractable!|Unsolved!|Solved!)', s.rstrip())
             if m:
                 result = m.group(1)
                 break