{"action":"created","issue":{"url":"https://api.github.com/repos/benma/visual-regexp-steroids.el/issues/18","repository_url":"https://api.github.com/repos/benma/visual-regexp-steroids.el","labels_url":"https://api.github.com/repos/benma/visual-regexp-steroids.el/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/benma/visual-regexp-steroids.el/issues/18/comments","events_url":"https://api.github.com/repos/benma/visual-regexp-steroids.el/issues/18/events","html_url":"https://github.com/benma/visual-regexp-steroids.el/issues/18","id":148362600,"number":18,"title":"Using visual-regexp-steroids programmatically","user":{"login":"priyadarshan","id":1652143,"avatar_url":"https://avatars.githubusercontent.com/u/1652143?v=3","gravatar_id":"","url":"https://api.github.com/users/priyadarshan","html_url":"https://github.com/priyadarshan","followers_url":"https://api.github.com/users/priyadarshan/followers","following_url":"https://api.github.com/users/priyadarshan/following{/other_user}","gists_url":"https://api.github.com/users/priyadarshan/gists{/gist_id}","starred_url":"https://api.github.com/users/priyadarshan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/priyadarshan/subscriptions","organizations_url":"https://api.github.com/users/priyadarshan/orgs","repos_url":"https://api.github.com/users/priyadarshan/repos","events_url":"https://api.github.com/users/priyadarshan/events{/privacy}","received_events_url":"https://api.github.com/users/priyadarshan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-04-14T13:34:37Z","updated_at":"2016-04-17T21:42:17Z","closed_at":"2016-04-16T17:39:35Z","body":"I know that `visual` means mainly \"interactive\", but I was wondering if it would be possibly to use `visual-regexp-steroids` programmatically as well?\r\n\r\nFor example, would it be possible to use python syntax in regex1 (with capture groups) and regex2 (with substitution matches) below?\r\n\r\n```\r\n(while (re-search-forward regex1 nil t)\r\n (replace-match regex2))\r\n```\r\n\r\nThank you so much for `visual-regexp-steroids`, it makes such a huge difference."},"comment":{"url":"https://api.github.com/repos/benma/visual-regexp-steroids.el/issues/comments/211120607","html_url":"https://github.com/benma/visual-regexp-steroids.el/issues/18#issuecomment-211120607","issue_url":"https://api.github.com/repos/benma/visual-regexp-steroids.el/issues/18","id":211120607,"user":{"login":"benma","id":1225267,"avatar_url":"https://avatars.githubusercontent.com/u/1225267?v=3","gravatar_id":"","url":"https://api.github.com/users/benma","html_url":"https://github.com/benma","followers_url":"https://api.github.com/users/benma/followers","following_url":"https://api.github.com/users/benma/following{/other_user}","gists_url":"https://api.github.com/users/benma/gists{/gist_id}","starred_url":"https://api.github.com/users/benma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benma/subscriptions","organizations_url":"https://api.github.com/users/benma/orgs","repos_url":"https://api.github.com/users/benma/repos","events_url":"https://api.github.com/users/benma/events{/privacy}","received_events_url":"https://api.github.com/users/benma/received_events","type":"User","site_admin":false},"created_at":"2016-04-17T21:42:17Z","updated_at":"2016-04-17T21:42:17Z","body":"Thanks for the kind words."}}