joni
joni copied to clipboard
Java port of Oniguruma regexp library
In 2.1.14 we updated some data and this uncovered some issues with joni and JRuby interactions involving warnings. The main visible issue is some regexps are generating the warning: ```text...
In #7, @electrum identified a location that can cause inifinite loop in JONI. It is marked as won't fix because input can be sanitized beforehand and JONI assumes that the...
I'm developping an Eclipse Text Editor based on textmate for syntax coloration which uses joni https://github.com/angelozerr/textmate.java It should be cool if joni (and jcodings) could be an OSGi bundle.
Joni interprets `[\w-#]` as `[ !"#0-9A-Z_a-z]` in both default syntax and Java syntax. Java Pattern interprets it as `[-0-9A-Z_a-z]`. An addition question: in general, is it considered a bug if...
Matching is a leaf operation, so we can pool a matcher per thread to avoid the cost of constructing and initializing the entire matcher for each string. This patch does...
Given this pattern `^\d$` This should match: `0` And this should not: `߀`
This is based on https://github.com/jruby/joni/pull/21 It only adds the minimum modifications required to make the newly added test case succeed.