Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tests for JRUBY-6923 - UTF-8 string is not matching //i properly

  • Loading branch information...
commit 3dbdcd898fab4950ec5c9e2ebba34897f61dda2b 1 parent 436c69d
@lopex lopex authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 test/org/joni/test/TestU8.java
View
4 test/org/joni/test/TestU8.java
@@ -76,6 +76,10 @@ public void test() {
// x2s(pat2, str2, 4, 4, Option.IGNORECASE);
ns("(?i-mx:ak)a", "ema");
+
+ x2s("(?i:!\\[CDAT)", "![CDAT", 0, 6);
+ x2s("(?i:\\!\\[CDAa)", "\\![CDAa", 1, 7);
+ x2s("(?i:\\!\\[CDAb)", "\\![CDAb", 1, 7);
}
public static void main(String[] args) throws Throwable {
Please sign in to comment.
Something went wrong with that request. Please try again.