{"action":"created","issue":{"url":"https://api.github.com/repos/romainl/ctags-patterns-for-javascript/issues/2","repository_url":"https://api.github.com/repos/romainl/ctags-patterns-for-javascript","labels_url":"https://api.github.com/repos/romainl/ctags-patterns-for-javascript/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/romainl/ctags-patterns-for-javascript/issues/2/comments","events_url":"https://api.github.com/repos/romainl/ctags-patterns-for-javascript/issues/2/events","html_url":"https://github.com/romainl/ctags-patterns-for-javascript/issues/2","id":276861638,"number":2,"title":"Make patterns more portable","user":{"login":"romainl","id":344335,"avatar_url":"https://avatars1.githubusercontent.com/u/344335?v=4","gravatar_id":"","url":"https://api.github.com/users/romainl","html_url":"https://github.com/romainl","followers_url":"https://api.github.com/users/romainl/followers","following_url":"https://api.github.com/users/romainl/following{/other_user}","gists_url":"https://api.github.com/users/romainl/gists{/gist_id}","starred_url":"https://api.github.com/users/romainl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romainl/subscriptions","organizations_url":"https://api.github.com/users/romainl/orgs","repos_url":"https://api.github.com/users/romainl/repos","events_url":"https://api.github.com/users/romainl/events{/privacy}","received_events_url":"https://api.github.com/users/romainl/received_events","type":"User","site_admin":false},"labels":[{"id":574385890,"url":"https://api.github.com/repos/romainl/ctags-patterns-for-javascript/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-26T22:15:15Z","updated_at":"2017-11-26T23:08:20Z","closed_at":null,"author_association":"OWNER","body":"See http://www.gnu.org/software/grep/manual/html_node/Basic-vs-Extended.html for a couple of advices."},"comment":{"url":"https://api.github.com/repos/romainl/ctags-patterns-for-javascript/issues/comments/347046644","html_url":"https://github.com/romainl/ctags-patterns-for-javascript/issues/2#issuecomment-347046644","issue_url":"https://api.github.com/repos/romainl/ctags-patterns-for-javascript/issues/2","id":347046644,"user":{"login":"michael-coleman","id":9756341,"avatar_url":"https://avatars0.githubusercontent.com/u/9756341?v=4","gravatar_id":"","url":"https://api.github.com/users/michael-coleman","html_url":"https://github.com/michael-coleman","followers_url":"https://api.github.com/users/michael-coleman/followers","following_url":"https://api.github.com/users/michael-coleman/following{/other_user}","gists_url":"https://api.github.com/users/michael-coleman/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-coleman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-coleman/subscriptions","organizations_url":"https://api.github.com/users/michael-coleman/orgs","repos_url":"https://api.github.com/users/michael-coleman/repos","events_url":"https://api.github.com/users/michael-coleman/events{/privacy}","received_events_url":"https://api.github.com/users/michael-coleman/received_events","type":"User","site_admin":false},"created_at":"2017-11-26T23:08:20Z","updated_at":"2017-11-26T23:08:20Z","author_association":"NONE","body":"Would you consider something along the lines of the following a solution?\r\nTaking [this regex](https://github.com/romainl/ctags-patterns-for-javascript/blob/master/.ctags#L32)\r\n\r\n    --regex-javascript=/^[ \\t]*([A-Za-z0-9_$]+)[ \\t]*\\(.*\\)[ \\t]*{/\\1/M,Method,Methods/\r\n\r\nI've rewritten it in the \"basic posix\" style:\r\n\r\n    --regex-javascript=/^[ \\t]*\\([A-Za-z0-9_$]\\+\\)[ \\t]*\\(.*\\)[ \\t]*{/\\1/M,Method,Methods/b\r\n\r\nand added the `b` flag on the end  it seems to tell ctags to use posix basic for this regex only\r\n\r\nit seems to match methods but its also matching alot of other things too. so its potentially a more portable but less accurate regex?"}}
{"actor":{"display_login":"michael-coleman"}}