{"action":"created","issue":{"url":"https://api.github.com/repos/pychess/pychess/issues/515","labels_url":"https://api.github.com/repos/pychess/pychess/issues/515/labels{/name}","comments_url":"https://api.github.com/repos/pychess/pychess/issues/515/comments","events_url":"https://api.github.com/repos/pychess/pychess/issues/515/events","html_url":"https://github.com/pychess/pychess/issues/515","id":56449848,"number":515,"title":"GNUChess hint mode does not show final hints","user":{"login":"pychess","id":10670522,"avatar_url":"https://avatars.githubusercontent.com/u/10670522?v=3","gravatar_id":"","url":"https://api.github.com/users/pychess","html_url":"https://github.com/pychess","followers_url":"https://api.github.com/users/pychess/followers","following_url":"https://api.github.com/users/pychess/following{/other_user}","gists_url":"https://api.github.com/users/pychess/gists{/gist_id}","starred_url":"https://api.github.com/users/pychess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pychess/subscriptions","organizations_url":"https://api.github.com/users/pychess/orgs","repos_url":"https://api.github.com/users/pychess/repos","events_url":"https://api.github.com/users/pychess/events{/privacy}","received_events_url":"https://api.github.com/users/pychess/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pychess/pychess/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2015-02-03T22:43:23Z","updated_at":"2015-02-03T23:19:58Z","closed_at":null,"body":"Original [issue 515](https://code.google.com/p/pychess/issues/detail?id=515) reported by [zollo.john](https://code.google.com/u/117741568078251192015/) 2010-01-18\n\n**What steps will reproduce the problem?**\n1.  Setup GNUChess as analyzer and enable hint mode &amp; restart.\n2.  Play game against PyChess engine at easy level.\n3.  Once you are in a position with a forced mate (Mate in X moves) you\nwill no longer see the green hint arrows.\n\n**What is the expected output? What do you see instead?**\n\n     A green arrow to show the next move in the forced mate.  Instead I see\nnothing.\n\n**Does it happen every time?**\n\n     Yes\n\n**What version of the product are you using?**\n\n     SVN r1568\n\n**Did you use an installed version of PyChess or did you run in from a**\n**tarball/svn?**\n\n     SVN\n\n**Please provide any additional information below.**\n\n    I think the bug is self explanatory.  Please let me know if you need\nany help!  Thanks for all your good work!\n\n\n**Please attach the latest pychess logfile. It's in a hidden folder, under**\nyour homedirectory, named \".pychess/\"\n\nThanks for everything!!!  Keep up the good work!!!\n\nSincerely,\nJohn"},"comment":{"url":"https://api.github.com/repos/pychess/pychess/issues/comments/72757797","html_url":"https://github.com/pychess/pychess/issues/515#issuecomment-72757797","issue_url":"https://api.github.com/repos/pychess/pychess/issues/515","id":72757797,"user":{"login":"pychess","id":10670522,"avatar_url":"https://avatars.githubusercontent.com/u/10670522?v=3","gravatar_id":"","url":"https://api.github.com/users/pychess","html_url":"https://github.com/pychess","followers_url":"https://api.github.com/users/pychess/followers","following_url":"https://api.github.com/users/pychess/following{/other_user}","gists_url":"https://api.github.com/users/pychess/gists{/gist_id}","starred_url":"https://api.github.com/users/pychess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pychess/subscriptions","organizations_url":"https://api.github.com/users/pychess/orgs","repos_url":"https://api.github.com/users/pychess/repos","events_url":"https://api.github.com/users/pychess/events{/privacy}","received_events_url":"https://api.github.com/users/pychess/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T23:19:58Z","updated_at":"2015-02-03T23:19:58Z","body":"Original [comment 24.](https://code.google.com/p/pychess/issues/detail?id=515#c24) posted by [lobais](https://code.google.com/u/lobais/) 2010-01-23\n\nHere is a much more detailed regex: (not tested)\n([KQRBN]?[a-h0-8]{0,2}x?[a-h][0-8]=?[KQRBN]?|[0Oo\\-]{3,5})[+#][\\?!]*\\s*\nAnother solution would be to change the \\s* back to \\s+ and then manually add a space\nto the end of the strings before they are 'findall'ed."}}