)]}'
{"nova/compute/instance_types.py":[{"author":{"_account_id":693,"name":"Christopher MacGown","email":"chris@pistoncloud.com","username":"0x44"},"change_message_id":"6b2667b3488ee6d8fa0633aeae7fe2067c55b928","unresolved":false,"context_lines":[{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    # ensure name does not contain any special characters"},{"line_number":54,"context_line":"    invalid_name_regex \u003d re.compile(\"[^\\w\\.\\- ]\")"},{"line_number":55,"context_line":"    invalid_name \u003d invalid_name_regex.search(name)"},{"line_number":56,"context_line":"    if invalid_name:"},{"line_number":57,"context_line":"        msg \u003d _(\"names can only contain [a-zA-Z0-9_.- ]\")"},{"line_number":58,"context_line":"        raise exception.InvalidInput(reason\u003dmsg)"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAHX%2F%2F5ec%3D","line":55,"updated":"2012-05-21 20:10:42.000000000","message":"If you\u0027re going to re.compile, you should compile it and call it from a global variable. Otherwise you\u0027re just wasting cycles compiling it here.","commit_id":"b8586c4035b6481eb136caaee6c40a87a6df8182"}]}
