{"action":"opened","issue":{"url":"https://api.github.com/repos/kkos/oniguruma/issues/28","repository_url":"https://api.github.com/repos/kkos/oniguruma","labels_url":"https://api.github.com/repos/kkos/oniguruma/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/kkos/oniguruma/issues/28/comments","events_url":"https://api.github.com/repos/kkos/oniguruma/issues/28/events","html_url":"https://github.com/kkos/oniguruma/issues/28","id":183212931,"number":28,"title":"[Bug] Not work ^ after ?<=","user":{"login":"Kristinita","id":17247677,"avatar_url":"https://avatars.githubusercontent.com/u/17247677?v=3","gravatar_id":"","url":"https://api.github.com/users/Kristinita","html_url":"https://github.com/Kristinita","followers_url":"https://api.github.com/users/Kristinita/followers","following_url":"https://api.github.com/users/Kristinita/following{/other_user}","gists_url":"https://api.github.com/users/Kristinita/gists{/gist_id}","starred_url":"https://api.github.com/users/Kristinita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kristinita/subscriptions","organizations_url":"https://api.github.com/users/Kristinita/orgs","repos_url":"https://api.github.com/users/Kristinita/repos","events_url":"https://api.github.com/users/Kristinita/events{/privacy}","received_events_url":"https://api.github.com/users/Kristinita/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-15T14:38:54Z","updated_at":"2016-10-15T14:38:54Z","closed_at":null,"body":"I use Sublime Text. Sublime Text [uses](http://docs.sublimetext.info/en/latest/extensibility/syntaxdefs.html#matches) Oniguruma's syntax for regular expressions in syntax definitions. I have bug in Sublime Text and I post issue report in Sublime Text issue tracker. Will Bond, developer of Sublime Text, [say me](http://docs.sublimetext.info/en/latest/extensibility/syntaxdefs.html#matches):\n\n> The oniguruma regex engine used when lookbehinds are present does not seem to support anchors in lookbehinds\n\n[My problem](https://github.com/sublimehq/Packages/issues/610):\n\n---\n\nI wrote my own small syntax for tables.\n\n*My syntax*: <https://gist.github.com/Kristinita/4105b1b48fb3dfc7ba13a0c09f9fb216>\n*My color scheme for syntax*: <https://github.com/Kristinita/SashaSublime/blob/master/SashaSublime.tmTheme>\n*Example file, when use this syntax*: <https://gist.github.com/Kristinita/39286e4165fa74ea54b52aa41b14ef81>\n\nIn syntax not works pattern, that work correctly on regex.101.com site:\n\n*Pattern*: `(?<=^\\| )[0-9]{1,2}(?= )`\n*regex101*: <https://regex101.com/r/gR8lV6/1>\n\n![Screen1](http://i.imgur.com/WTcSOKJ.png)\n\nI want consume digits between `|` and space only when `|` is in the beginning of a line. If I don't write a symbol `^`, figures will be consume in other places, see <https://regex101.com/r/gR8lV6/2>:\n\n![Screen2](http://i.imgur.com/MGccaRY.png)\n\nI do not want to consume digits in other places as in the screen 2. But in Sublime Text pattern \n\n```\n- match: (?<=^\\| )[0-9]{1,2}(?= )\n  scope: kira.numbers\n```\n\nall digits don't highlighted. Pattern `(?<=\\| )[0-9]{1,2}(?= )` is work for me in Sublime Text.\n\n---\n\n### Environment\n\n**Operating system and version:**\nWindows 10.0.14393\n**Sublime Text:**\nBuild 3126\n\n\nThanks."}}
{"actor":{"display_login":"Kristinita"}}