{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/material/issues/7486","repository_url":"https://api.github.com/repos/angular/material","labels_url":"https://api.github.com/repos/angular/material/issues/7486/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/7486/comments","events_url":"https://api.github.com/repos/angular/material/issues/7486/events","html_url":"https://github.com/angular/material/issues/7486","id":139607681,"number":7486,"title":"autocomplete Lexer error with \"in\" keyword","user":{"login":"debslord","id":13707183,"avatar_url":"https://avatars.githubusercontent.com/u/13707183?v=3","gravatar_id":"","url":"https://api.github.com/users/debslord","html_url":"https://github.com/debslord","followers_url":"https://api.github.com/users/debslord/followers","following_url":"https://api.github.com/users/debslord/following{/other_user}","gists_url":"https://api.github.com/users/debslord/gists{/gist_id}","starred_url":"https://api.github.com/users/debslord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/debslord/subscriptions","organizations_url":"https://api.github.com/users/debslord/orgs","repos_url":"https://api.github.com/users/debslord/repos","events_url":"https://api.github.com/users/debslord/events{/privacy}","received_events_url":"https://api.github.com/users/debslord/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-09T15:26:29Z","updated_at":"2016-03-09T15:26:29Z","closed_at":null,"body":"When using autocomplete the search functionality fails if the source (md-items) includes an item where the display property (md-item-text) contains the keyword \"in\"\r\n\r\nFor example display property could be \"Not in here\"\r\n\r\n`Error: [$parse:lexerr] Lexer Error: Unterminated quote at columns 47-51 [\"Not] in expression [lookupSearch(searchText, [{\"_id\":\"51e06ddf3121a51700fdbf29\",\"description\":\"Not].`\r\n\r\nThis occurs when clicking the autocomplete box and a message appears saying it cannot find any items.  The error is thrown in the console.  It only occurs if there is text before and after the in and a space either side as in my example.  "}}