I have this piece of code
private static final Pattern controlChars = Pattern.compile(
"[\u0001-\u0008\u000B\u000C\u000E-\u001F\u007F]");
and the idea of IntelliJ (2016.3) put a red line under \u0008, saying that this is an illegal / unsupported escape sequence. Changing it to any of \b, \010or \x08does not affect.
What I do not understand is that the code builds and works without problems. Think what the problem is?
agnul source
share