Does anybody know where in Pattern API the behaviour of this line of code is described
System.out.println("000".matches("(0)\\10
"));
I think few people can say what it prints until they run it. API says
\n Whatever the n-th capturing group matched
It does not say that n must be 1 digit. Is it 10-th or 1-th group in my test?