{"action":"created","issue":{"url":"https://api.github.com/repos/jflex-de/jflex/issues/109","labels_url":"https://api.github.com/repos/jflex-de/jflex/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/jflex-de/jflex/issues/109/comments","events_url":"https://api.github.com/repos/jflex-de/jflex/issues/109/events","html_url":"https://github.com/jflex-de/jflex/issues/109","id":57721076,"number":109,"title":"[Bug] unexpected Error: could not match input [sf#107]","user":{"login":"lsf37","id":5506585,"avatar_url":"https://avatars.githubusercontent.com/u/5506585?v=3","gravatar_id":"","url":"https://api.github.com/users/lsf37","html_url":"https://github.com/lsf37","followers_url":"https://api.github.com/users/lsf37/followers","following_url":"https://api.github.com/users/lsf37/following{/other_user}","gists_url":"https://api.github.com/users/lsf37/gists{/gist_id}","starred_url":"https://api.github.com/users/lsf37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsf37/subscriptions","organizations_url":"https://api.github.com/users/lsf37/orgs","repos_url":"https://api.github.com/users/lsf37/repos","events_url":"https://api.github.com/users/lsf37/events{/privacy}","received_events_url":"https://api.github.com/users/lsf37/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jflex-de/jflex/milestones/4","labels_url":"https://api.github.com/repos/jflex-de/jflex/milestones/4/labels","id":979872,"number":4,"title":"jlex incompatibility","description":"jlex incompatibility","creator":{"login":"lsf37","id":5506585,"avatar_url":"https://avatars.githubusercontent.com/u/5506585?v=3","gravatar_id":"","url":"https://api.github.com/users/lsf37","html_url":"https://github.com/lsf37","followers_url":"https://api.github.com/users/lsf37/followers","following_url":"https://api.github.com/users/lsf37/following{/other_user}","gists_url":"https://api.github.com/users/lsf37/gists{/gist_id}","starred_url":"https://api.github.com/users/lsf37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsf37/subscriptions","organizations_url":"https://api.github.com/users/lsf37/orgs","repos_url":"https://api.github.com/users/lsf37/repos","events_url":"https://api.github.com/users/lsf37/events{/privacy}","received_events_url":"https://api.github.com/users/lsf37/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2015-02-15T06:11:33Z","updated_at":"2015-02-15T07:26:13Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2015-02-15T07:08:31Z","updated_at":"2015-02-15T07:26:30Z","closed_at":"2015-02-15T07:26:13Z","body":"**Reported by kneunert on 2010-03-01 20:56 UTC**\nI'm using a bit of a trick in the Lexer like this:\r\n\r\n&lt;YYINITIAL&gt;      \\{identifier\\}\\\\\\[      \\{ yybegin\\(ARRAY1\\); return someSymbol; \\}\r\n&lt;ARRAY1&gt;         \\$?                 \\{ yybegin\\(ARRAY2\\); return someSymbol; \\}\r\n&lt;ARRAY2&gt;         \\$?                 \\{ yybegin\\(ARRAY3\\); return someSymbol; \\}\r\n&lt;ARRAY3&gt;         \\$?                 \\{ yybegin\\(YYINITIAL\\); return someSymbol; \\}\r\n&lt;YYINITIAL&gt;      \\\\\\]                  \\{ yybegin\\(YYINITIAL\\); return someSymbol; \\}\r\n\r\nThe trick here is, that i use an unconvential optional character. This Character is not there, so no character gets consumed however a series of symbols are  returned. This used to work in JLex and it does not seem to work in JFlex anymore.\r\nI get this:\r\n\r\nSymbol: \\[\r\nException in thread \"main\" java.lang.Error: Error: could not match input\r\nat struktor.processor.Yylex.zzScanError\\(Yylex.java:439\\)\r\nat struktor.processor.Yylex.next\\_token\\(Yylex.java:590\\)\r\nat struktor.processor.MyMain.main\\(MyMain.java:19\\)\r\n\r\n\r\n\r\n\r\nI have a simple testcase for this. If needed, i can attach it to this ticket.\r\n\r\nThanks\r\n\r\nKim \\( https://sourceforge.net/projects/struktor/ \\)"},"comment":{"url":"https://api.github.com/repos/jflex-de/jflex/issues/comments/74407273","html_url":"https://github.com/jflex-de/jflex/issues/109#issuecomment-74407273","issue_url":"https://api.github.com/repos/jflex-de/jflex/issues/109","id":74407273,"user":{"login":"lsf37","id":5506585,"avatar_url":"https://avatars.githubusercontent.com/u/5506585?v=3","gravatar_id":"","url":"https://api.github.com/users/lsf37","html_url":"https://github.com/lsf37","followers_url":"https://api.github.com/users/lsf37/followers","following_url":"https://api.github.com/users/lsf37/following{/other_user}","gists_url":"https://api.github.com/users/lsf37/gists{/gist_id}","starred_url":"https://api.github.com/users/lsf37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsf37/subscriptions","organizations_url":"https://api.github.com/users/lsf37/orgs","repos_url":"https://api.github.com/users/lsf37/repos","events_url":"https://api.github.com/users/lsf37/events{/privacy}","received_events_url":"https://api.github.com/users/lsf37/received_events","type":"User","site_admin":false},"created_at":"2015-02-15T07:26:30Z","updated_at":"2015-02-15T07:26:30Z","body":"**Updated by lsf37 on 2014-03-01 00:26 UTC**\n- **status**: open-fixed --> closed\n"}}