{"action":"opened","issue":{"url":"https://api.github.com/repos/GoogleChrome/chromium-dashboard/issues/391","repository_url":"https://api.github.com/repos/GoogleChrome/chromium-dashboard","labels_url":"https://api.github.com/repos/GoogleChrome/chromium-dashboard/issues/391/labels{/name}","comments_url":"https://api.github.com/repos/GoogleChrome/chromium-dashboard/issues/391/comments","events_url":"https://api.github.com/repos/GoogleChrome/chromium-dashboard/issues/391/events","html_url":"https://github.com/GoogleChrome/chromium-dashboard/issues/391","id":172526358,"number":391,"title":"Escape special characters in search regular expressions","user":{"login":"mdittmer","id":1775176,"avatar_url":"https://avatars.githubusercontent.com/u/1775176?v=3","gravatar_id":"","url":"https://api.github.com/users/mdittmer","html_url":"https://github.com/mdittmer","followers_url":"https://api.github.com/users/mdittmer/followers","following_url":"https://api.github.com/users/mdittmer/following{/other_user}","gists_url":"https://api.github.com/users/mdittmer/gists{/gist_id}","starred_url":"https://api.github.com/users/mdittmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdittmer/subscriptions","organizations_url":"https://api.github.com/users/mdittmer/orgs","repos_url":"https://api.github.com/users/mdittmer/repos","events_url":"https://api.github.com/users/mdittmer/events{/privacy}","received_events_url":"https://api.github.com/users/mdittmer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleChrome/chromium-dashboard/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"mdittmer","id":1775176,"avatar_url":"https://avatars.githubusercontent.com/u/1775176?v=3","gravatar_id":"","url":"https://api.github.com/users/mdittmer","html_url":"https://github.com/mdittmer","followers_url":"https://api.github.com/users/mdittmer/followers","following_url":"https://api.github.com/users/mdittmer/following{/other_user}","gists_url":"https://api.github.com/users/mdittmer/gists{/gist_id}","starred_url":"https://api.github.com/users/mdittmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdittmer/subscriptions","organizations_url":"https://api.github.com/users/mdittmer/orgs","repos_url":"https://api.github.com/users/mdittmer/repos","events_url":"https://api.github.com/users/mdittmer/events{/privacy}","received_events_url":"https://api.github.com/users/mdittmer/received_events","type":"User","site_admin":false},"assignees":[{"login":"mdittmer","id":1775176,"avatar_url":"https://avatars.githubusercontent.com/u/1775176?v=3","gravatar_id":"","url":"https://api.github.com/users/mdittmer","html_url":"https://github.com/mdittmer","followers_url":"https://api.github.com/users/mdittmer/followers","following_url":"https://api.github.com/users/mdittmer/following{/other_user}","gists_url":"https://api.github.com/users/mdittmer/gists{/gist_id}","starred_url":"https://api.github.com/users/mdittmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdittmer/subscriptions","organizations_url":"https://api.github.com/users/mdittmer/orgs","repos_url":"https://api.github.com/users/mdittmer/repos","events_url":"https://api.github.com/users/mdittmer/events{/privacy}","received_events_url":"https://api.github.com/users/mdittmer/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-08-22T18:51:21Z","updated_at":"2016-08-22T18:51:21Z","closed_at":null,"body":"Our documentation (via example queries) suggests keyword search with light label:value and math>=expr matching. It does not suggest regular expressions. In light of this, the current behaviour of constructing a RegExp from the search string is confusing, particularly considering that searching for issues with names containing square brackets will yield no results.\r\n\r\nFor this reason I think we should escape characters with special meaning in regular expressions. If we wish to support regular rexpressions, I would suggest something like:\r\n\r\n    matches:\"[a-zA-Z]*[1-3]\"\r\n\r\nor\r\n\r\n    /[a-zA-Z]*[1-3]/"}}
{"actor":{"display_login":"mdittmer"}}