)]}'
{"functionaltests/cli/v1/behaviors/base_behaviors.py":[{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"eb02f7d1492ed59e82141e021638703160daadbb","unresolved":false,"context_lines":[{"line_number":125,"context_line":"        \"\"\""},{"line_number":126,"context_line":"        retval \u003d []"},{"line_number":127,"context_line":"        if str is not None and len(str) \u003e 0:"},{"line_number":128,"context_line":"            rows \u003d re.findall(\u0027\\|.*\\n\u0027, str)"},{"line_number":129,"context_line":"            # Remove header"},{"line_number":130,"context_line":"            header_row \u003d rows.pop(0)"},{"line_number":131,"context_line":"            key_names \u003d re.findall(\u0027\\s*(.*?)\\s*\\|\u0027, header_row)"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_3b053545","line":128,"updated":"2017-01-09 01:11:36.000000000","message":"This seems to change the behavior slightly.  My test:\n\n  \u003e\u003e\u003e import re\n  \u003e\u003e\u003e table \u003d \"\"\"\n  ... +-+-+\n  ... |a|a|\n  ... +-+-+\n  ... |b|b|\n  ... |d|d|\n  ... \"\"\"\n  \u003e\u003e\u003e old \u003d re.findall(\u0027\\|(.*)?\\n\u0027, table)\n  \u003e\u003e\u003e new \u003d re.findall(\u0027\\|.*\\n\u0027, table)\n  \u003e\u003e\u003e old_header_row \u003d old.pop(0)\n  \u003e\u003e\u003e old_header_row\n  \u0027a|a|\u0027\n  \u003e\u003e\u003e re.findall(\u0027\\s*(.*?)\\s*\\|\u0027, old_header_row)\n  [\u0027a\u0027, \u0027a\u0027]\n  \u003e\u003e\u003e new_header_row \u003d new.pop(0)\n  \u003e\u003e\u003e new_header_row\n  \u0027|a|a|\\n\u0027\n  \u003e\u003e\u003e re.findall(\u0027\\s*(.*?)\\s*\\|\u0027, new_header_row)\n  [\u0027\u0027, \u0027a\u0027, \u0027a\u0027]","commit_id":"9dc029fb9acff69ae65bd12c446887a6b16471f4"},{"author":{"_account_id":24711,"name":"Jackie Truong","email":"jacklyn.truong@jhuapl.edu","username":"jackie-truong"},"change_message_id":"d4f2617a9010a7ff90b29a61d21e2653060ae079","unresolved":false,"context_lines":[{"line_number":125,"context_line":"        \"\"\""},{"line_number":126,"context_line":"        retval \u003d []"},{"line_number":127,"context_line":"        if str is not None and len(str) \u003e 0:"},{"line_number":128,"context_line":"            rows \u003d re.findall(\u0027\\|.*\\n\u0027, str)"},{"line_number":129,"context_line":"            # Remove header"},{"line_number":130,"context_line":"            header_row \u003d rows.pop(0)"},{"line_number":131,"context_line":"            key_names \u003d re.findall(\u0027\\s*(.*?)\\s*\\|\u0027, header_row)"}],"source_content_type":"text/x-python","patch_set":1,"id":"bff0334d_09852acf","line":128,"in_reply_to":"ba5201f7_0d5cb87b","updated":"2017-04-10 21:42:08.000000000","message":"I\u0027m seeing the same discrepancy as Kaitlin. This regex results in the expected output:\n\n  rows \u003d re.findall(\u0027\\|(.*?)\\n\u0027, str)\n\nTest output:\n\n  \u003e\u003e\u003e import re\n  \u003e\u003e\u003e table \u003d \"\"\"\n  ... +-+-+\n  ... |a|a|\n  ... +-+-+\n  ... |b|b|\n  ... |d|d|\n  ... \"\"\"\n  \u003e\u003e\u003e old \u003d re.findall(\u0027\\|(.*)?\\n\u0027, table)\n  \u003e\u003e\u003e new \u003d re.findall(\u0027\\|(.*?)\\n\u0027, table)\n  \u003e\u003e\u003e print old\n  [\u0027a|a|\u0027, \u0027b|b|\u0027]\n  \u003e\u003e\u003e print new\n  [\u0027a|a|\u0027, \u0027b|b|\u0027]\n\nDoes this work in your environment, Jeremy?","commit_id":"9dc029fb9acff69ae65bd12c446887a6b16471f4"},{"author":{"_account_id":21797,"name":"Jeremy Liu","display_name":"Jeremy Liu","username":"liujiong"},"change_message_id":"2078372e4641614528b94305a0c1fdf36bfc5155","unresolved":false,"context_lines":[{"line_number":125,"context_line":"        \"\"\""},{"line_number":126,"context_line":"        retval \u003d []"},{"line_number":127,"context_line":"        if str is not None and len(str) \u003e 0:"},{"line_number":128,"context_line":"            rows \u003d re.findall(\u0027\\|.*\\n\u0027, str)"},{"line_number":129,"context_line":"            # Remove header"},{"line_number":130,"context_line":"            header_row \u003d rows.pop(0)"},{"line_number":131,"context_line":"            key_names \u003d re.findall(\u0027\\s*(.*?)\\s*\\|\u0027, header_row)"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_0d5cb87b","line":128,"in_reply_to":"ba5201f7_3b053545","updated":"2017-01-09 02:41:06.000000000","message":"Executing `old \u003d re.findall(\u0027\\|(.*)?\\n\u0027, table)` will throw `sre_constants.error: nothing to repeat` as described in launchpad bugs https://bugs.launchpad.net/python-barbicanclient/+bug/1651047\n\nMy env is CentOS Linux release 7.2.1511, python2.7.5","commit_id":"9dc029fb9acff69ae65bd12c446887a6b16471f4"},{"author":{"_account_id":21797,"name":"Jeremy Liu","display_name":"Jeremy Liu","username":"liujiong"},"change_message_id":"31f57b5255b124a26562ba92685d4e192cb419af","unresolved":false,"context_lines":[{"line_number":125,"context_line":"        \"\"\""},{"line_number":126,"context_line":"        retval \u003d []"},{"line_number":127,"context_line":"        if str is not None and len(str) \u003e 0:"},{"line_number":128,"context_line":"            rows \u003d re.findall(\u0027\\|.*\\n\u0027, str)"},{"line_number":129,"context_line":"            # Remove header"},{"line_number":130,"context_line":"            header_row \u003d rows.pop(0)"},{"line_number":131,"context_line":"            key_names \u003d re.findall(\u0027\\s*(.*?)\\s*\\|\u0027, header_row)"}],"source_content_type":"text/x-python","patch_set":1,"id":"bff0334d_98ea9ed5","line":128,"in_reply_to":"bff0334d_09852acf","updated":"2017-04-11 01:47:51.000000000","message":"No, it doesn\u0027t work in my env. Seeing below.\n\n\"\"\"\n[root@controller ~]# python\nPython 2.7.5 (default, Nov  6 2016, 00:28:07) \n[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux2\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n\u003e\u003e\u003e import re\n\u003e\u003e\u003e table \u003d \"\"\"\n...   ... +-+-+\n...   ... |a|a|\n...   ... +-+-+\n...   ... |b|b|\n...   ... |d|d|\n...   ... \"\"\"\n\u003e\u003e\u003e table\n\u0027\\n  ... +-+-+\\n  ... |a|a|\\n  ... +-+-+\\n  ... |b|b|\\n  ... |d|d|\\n  ... \u0027\n\u003e\u003e\u003e old \u003d re.findall(\u0027\\|(.*)?\\n\u0027, table)\nTraceback (most recent call last):\n  File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\n  File \"/usr/lib64/python2.7/re.py\", line 177, in findall\n    return _compile(pattern, flags).findall(string)\n  File \"/usr/lib64/python2.7/re.py\", line 242, in _compile\n    raise error, v # invalid expression\nsre_constants.error: nothing to repeat\n\"\"\"","commit_id":"9dc029fb9acff69ae65bd12c446887a6b16471f4"},{"author":{"_account_id":21797,"name":"Jeremy Liu","display_name":"Jeremy Liu","username":"liujiong"},"change_message_id":"b62ce1d3abb1eaf836fa78971cbf8618ca435f76","unresolved":false,"context_lines":[{"line_number":125,"context_line":"        \"\"\""},{"line_number":126,"context_line":"        retval \u003d []"},{"line_number":127,"context_line":"        if str is not None and len(str) \u003e 0:"},{"line_number":128,"context_line":"            rows \u003d re.findall(\u0027\\|.*\\n\u0027, str)"},{"line_number":129,"context_line":"            # Remove header"},{"line_number":130,"context_line":"            header_row \u003d rows.pop(0)"},{"line_number":131,"context_line":"            key_names \u003d re.findall(\u0027\\s*(.*?)\\s*\\|\u0027, header_row)"}],"source_content_type":"text/x-python","patch_set":1,"id":"bff0334d_b8744237","line":128,"in_reply_to":"bff0334d_98ea9ed5","updated":"2017-04-11 01:52:41.000000000","message":"It works well when I test on my windows machine with python2.7.8 installed.\n\n\"\"\"\nPython 2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit (AMD64)] on win\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n\u003e\u003e\u003e import re\n\u003e\u003e\u003e table \u003d \"\"\"\n... ...   ... +-+-+\n... ...   ... |a|a|\n... ...   ... +-+-+\n... ...   ... |b|b|\n... ...   ... |d|d|\n... ...   ... \"\"\"\n\u003e\u003e\u003e old \u003d re.findall(\u0027\\|(.*)?\\n\u0027, table)\n\u003e\u003e\u003e old\n[\u0027a|a|\u0027, \u0027b|b|\u0027, \u0027d|d|\u0027]\n\"\"\"","commit_id":"9dc029fb9acff69ae65bd12c446887a6b16471f4"},{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"eb02f7d1492ed59e82141e021638703160daadbb","unresolved":false,"context_lines":[{"line_number":128,"context_line":"            rows \u003d re.findall(\u0027\\|.*\\n\u0027, str)"},{"line_number":129,"context_line":"            # Remove header"},{"line_number":130,"context_line":"            header_row \u003d rows.pop(0)"},{"line_number":131,"context_line":"            key_names \u003d re.findall(\u0027\\s*(.*?)\\s*\\|\u0027, header_row)"},{"line_number":132,"context_line":"            for row in rows:"},{"line_number":133,"context_line":"                values \u003d re.findall(\u0027\\s*(.*?)\\s*\\|\u0027, row)"},{"line_number":134,"context_line":"                entry_dict \u003d dict(zip(key_names, values))"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_5b6bd91d","line":131,"range":{"start_line":131,"start_character":36,"end_line":131,"end_character":49},"updated":"2017-01-09 01:11:36.000000000","message":"Does this cause the same issue as described in the bug report?  It\u0027s slightly different from the line above, but I\u0027m not sure which version of libraries you were using to reproduce the issue.","commit_id":"9dc029fb9acff69ae65bd12c446887a6b16471f4"},{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"eb02f7d1492ed59e82141e021638703160daadbb","unresolved":false,"context_lines":[{"line_number":130,"context_line":"            header_row \u003d rows.pop(0)"},{"line_number":131,"context_line":"            key_names \u003d re.findall(\u0027\\s*(.*?)\\s*\\|\u0027, header_row)"},{"line_number":132,"context_line":"            for row in rows:"},{"line_number":133,"context_line":"                values \u003d re.findall(\u0027\\s*(.*?)\\s*\\|\u0027, row)"},{"line_number":134,"context_line":"                entry_dict \u003d dict(zip(key_names, values))"},{"line_number":135,"context_line":"                retval.append(entry_dict)"},{"line_number":136,"context_line":"        return retval"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_7b76dd06","line":133,"range":{"start_line":133,"start_character":36,"end_line":133,"end_character":51},"updated":"2017-01-09 01:11:36.000000000","message":"same","commit_id":"9dc029fb9acff69ae65bd12c446887a6b16471f4"}]}
