{"action":"opened","issue":{"url":"https://api.github.com/repos/Yelp/undebt/issues/10","repository_url":"https://api.github.com/repos/Yelp/undebt","labels_url":"https://api.github.com/repos/Yelp/undebt/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/Yelp/undebt/issues/10/comments","events_url":"https://api.github.com/repos/Yelp/undebt/issues/10/events","html_url":"https://github.com/Yelp/undebt/issues/10","id":172994606,"number":10,"title":"unintended replacements in remove_needless_u_specifier example","user":{"login":"acdha","id":46565,"avatar_url":"https://avatars.githubusercontent.com/u/46565?v=3","gravatar_id":"","url":"https://api.github.com/users/acdha","html_url":"https://github.com/acdha","followers_url":"https://api.github.com/users/acdha/followers","following_url":"https://api.github.com/users/acdha/following{/other_user}","gists_url":"https://api.github.com/users/acdha/gists{/gist_id}","starred_url":"https://api.github.com/users/acdha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acdha/subscriptions","organizations_url":"https://api.github.com/users/acdha/orgs","repos_url":"https://api.github.com/users/acdha/repos","events_url":"https://api.github.com/users/acdha/events{/privacy}","received_events_url":"https://api.github.com/users/acdha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-24T16:08:30Z","updated_at":"2016-08-24T16:08:30Z","closed_at":null,"body":"I gave undebt a try using remove_needless_u_specifier.py and noticed some instances where it replaced more than expected when a string ended with a `u` character:\r\n\r\n```diff\r\n     try:\r\n         subprocess.check_call(('mysql',\r\n-                               '-u', 'test_user',\r\n+                               '-', 'test_user',\r\n…)\r\n```\r\n\r\n```diff\r\n TITLE_LABELS = {\r\n     \"en\": (\"Subject\", ),\r\n-    \"ru\": (\"Тема\", ),\r\n+    \"r\": (\"Тема\", ),\r\n     \"fr\": (\"Objet\", \"Sujet\"),\r\n…\r\n```\r\n"}}
{"actor":{"display_login":"acdha"}}