Closed Genhis closed 5 years ago
The $
should be legal only after the last .
I mean, if I got it right your change allows illegal stuff like package.Class$Inner.package2
.
Correct me if I'm wrong.
You are correct; however, I couldn't find a way to do it, and since the issue has been open for more than a year, I wanted to contribute with my (though not optimal) solution.
I do not know Ragel, so I just edited the file manually in the simplest way I could and let ragel to build the java file. I would appreciate any advice regarding Ragel.
If you know how to quickly fix it, feel free to close this pull request.
Please, try the following
id = [a-zA-Z_] [a-zA-Z_0-9]*;
...
taskName = idBegin ('.' id)* ('$' id)* '?'? %{isSubtreeRef = false;} %taskName;
This change should cover the following sample task names:
Please, let me know if it works as expected.
It works as expected, thanks :) I updated the PR to reflect your changes.
Merged! Thanks :)
Fixes #101