it's a relatively easy java question with spliting.
public class Main {
public static void main(String[] args) {
String[] tokens = "aa33aaca^aa".split("[\\dc]+");
for (int i = 0; i < tokens.length; i++)
System.out.println(tokens[i]); }
}
I'm wondering why is the output of this code is
aa
aa
a^aa
how is the "[\\dc]+" working exactly?