{"action":"created","issue":{"url":"https://api.github.com/repos/Rexamine/stringi/issues/30","labels_url":"https://api.github.com/repos/Rexamine/stringi/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/Rexamine/stringi/issues/30/comments","events_url":"https://api.github.com/repos/Rexamine/stringi/issues/30/events","html_url":"https://github.com/Rexamine/stringi/issues/30","id":15015320,"number":30,"title":"stri_submulti()<-: stri_sub<-() accepting lists","user":{"login":"gagolews","id":3193581,"avatar_url":"https://avatars.githubusercontent.com/u/3193581?v=3","gravatar_id":"","url":"https://api.github.com/users/gagolews","html_url":"https://github.com/gagolews","followers_url":"https://api.github.com/users/gagolews/followers","following_url":"https://api.github.com/users/gagolews/following{/other_user}","gists_url":"https://api.github.com/users/gagolews/gists{/gist_id}","starred_url":"https://api.github.com/users/gagolews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gagolews/subscriptions","organizations_url":"https://api.github.com/users/gagolews/orgs","repos_url":"https://api.github.com/users/gagolews/repos","events_url":"https://api.github.com/users/gagolews/events{/privacy}","received_events_url":"https://api.github.com/users/gagolews/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Rexamine/stringi/labels/new%20feature","name":"new feature","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"gagolews","id":3193581,"avatar_url":"https://avatars.githubusercontent.com/u/3193581?v=3","gravatar_id":"","url":"https://api.github.com/users/gagolews","html_url":"https://github.com/gagolews","followers_url":"https://api.github.com/users/gagolews/followers","following_url":"https://api.github.com/users/gagolews/following{/other_user}","gists_url":"https://api.github.com/users/gagolews/gists{/gist_id}","starred_url":"https://api.github.com/users/gagolews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gagolews/subscriptions","organizations_url":"https://api.github.com/users/gagolews/orgs","repos_url":"https://api.github.com/users/gagolews/repos","events_url":"https://api.github.com/users/gagolews/events{/privacy}","received_events_url":"https://api.github.com/users/gagolews/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Rexamine/stringi/milestones/6","html_url":"https://github.com/Rexamine/stringi/milestones/stringi-0.6","labels_url":"https://api.github.com/repos/Rexamine/stringi/milestones/6/labels","id":1079572,"number":6,"title":"stringi-0.6","description":"","creator":{"login":"gagolews","id":3193581,"avatar_url":"https://avatars.githubusercontent.com/u/3193581?v=3","gravatar_id":"","url":"https://api.github.com/users/gagolews","html_url":"https://github.com/gagolews","followers_url":"https://api.github.com/users/gagolews/followers","following_url":"https://api.github.com/users/gagolews/following{/other_user}","gists_url":"https://api.github.com/users/gagolews/gists{/gist_id}","starred_url":"https://api.github.com/users/gagolews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gagolews/subscriptions","organizations_url":"https://api.github.com/users/gagolews/orgs","repos_url":"https://api.github.com/users/gagolews/repos","events_url":"https://api.github.com/users/gagolews/events{/privacy}","received_events_url":"https://api.github.com/users/gagolews/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":0,"state":"open","created_at":"2015-04-22T20:21:41Z","updated_at":"2015-06-24T18:11:15Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2013-05-31T21:39:07Z","updated_at":"2015-06-24T18:13:31Z","closed_at":null,"body":"```\r\n> x <- \"ala\"; stri_sub(x, c(2,1), c(2,1)) <- c(\"Y\", \"Z\")\r\n> x\r\n[1] \"aYa\" \"Zla\"\r\n```\r\n\r\nsomeday we may wish to add a function that is not vectorized w.r.t. to the first element,\r\nso that we obtain `\"ZYa\"` (from/to/length should be sorted increasingly)\r\n\r\nOR\r\n\r\nthe above setting will be strange (non-vectorized? OMG!), so we may accept lists of integer vectors as from/to/length"},"comment":{"url":"https://api.github.com/repos/Rexamine/stringi/issues/comments/114965995","html_url":"https://github.com/Rexamine/stringi/issues/30#issuecomment-114965995","issue_url":"https://api.github.com/repos/Rexamine/stringi/issues/30","id":114965995,"user":{"login":"gagolews","id":3193581,"avatar_url":"https://avatars.githubusercontent.com/u/3193581?v=3","gravatar_id":"","url":"https://api.github.com/users/gagolews","html_url":"https://github.com/gagolews","followers_url":"https://api.github.com/users/gagolews/followers","following_url":"https://api.github.com/users/gagolews/following{/other_user}","gists_url":"https://api.github.com/users/gagolews/gists{/gist_id}","starred_url":"https://api.github.com/users/gagolews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gagolews/subscriptions","organizations_url":"https://api.github.com/users/gagolews/orgs","repos_url":"https://api.github.com/users/gagolews/repos","events_url":"https://api.github.com/users/gagolews/events{/privacy}","received_events_url":"https://api.github.com/users/gagolews/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T18:13:31Z","updated_at":"2015-06-24T18:13:31Z","body":"Note: we should be able to imitate a call to `stri_replace(...)` with `stri_subXXX(stri_locate(...)) <- ...` and a call to `stri_extract(...)` with `stri_sub(stri_locate(...))`"}}