> Mark's LITERALS test is something like this > String s = new StringBuilder().appendCodePoint(i).toString(); > String target = "a" + s + "b"; > Failures.LITERALS.checkMatch(i, "a" + s + "b", target);
> In which it does not escape those meta characters. Some are > simply because of the PatternSyntaxException, such as "a[b" as > a pattern, some are just not matching, pattern a*b against the > string "a*b". This "LITERALS" here actually has nothing to do > with our hex notation discussion. Thanks very much for clarifying that. It makes sense now. --tom